Skip to content

Commit

Permalink
Merge pull request #32 from nerdalert/git-credentials
Browse files Browse the repository at this point in the history
Fix .git-credentials variable
  • Loading branch information
dave-tucker authored Mar 17, 2024
2 parents e080ef7 + 1d07ebf commit 4138b8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/ansible/instructlab/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- name: Set credentials
ansible.builtin.copy:
dest: "{{ ansible_env.HOME }}/.git-credentials }}"
dest: "{{ ansible_env.HOME }}/.git-credentials"
content: |
https://instruct-lab-bot:{{ github_token }}@github.com
mode: "0600"
Expand Down
7 changes: 5 additions & 2 deletions deploy/ansible/redis/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,22 @@
become: true

- name: Get Nexodus Tunnel IP (v4)
ansible.builtin.shell: nexctl nexd get tunnelip
ansible.builtin.command: "nexctl nexd get tunnelip"
register: nexodus_tunnelip_v4
changed_when: false
become: true

- name: Get Nexodus Tunnel IP (v6)
ansible.builtin.shell: nexctl nexd get tunnelip --ipv6
ansible.builtin.command: "nexctl nexd get tunnelip --ipv6"
register: nexodus_tunnelip_v6
changed_when: false
become: true

- name: Generate redis.local.conf
ansible.builtin.template:
src: redis/templates/redis.local.conf.j2
dest: /etc/redis/redis.local.conf
mode: '0644'
become: true

- name: Start redis systemd service
Expand Down

0 comments on commit 4138b8c

Please sign in to comment.