make sure to specify we are templating for clarity in nim/tasks/main.yml and nim/tasks/main.yml

This commit is contained in:
staticsafe 2021-09-11 13:12:00 -04:00
parent 269e6af917
commit e2b3e248c9
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
ansible.builtin.shell: "/home/{{ NITTER_USER }}/init.sh -y" ansible.builtin.shell: "/home/{{ NITTER_USER }}/init.sh -y"
become: true become: true
become_user: "{{ NITTER_USER }}" become_user: "{{ NITTER_USER }}"
- name: Copy .bashrc file to add nimble to PATH - name: Template and copy .bashrc file to add nimble to PATH
ansible.builtin.template: ansible.builtin.template:
src: .bashrc src: .bashrc
dest: "/home/{{ NITTER_USER }}/.bashrc" dest: "/home/{{ NITTER_USER }}/.bashrc"

View File

@ -7,7 +7,7 @@
dest: "/home/{{ NITTER_USER }}/nitter" dest: "/home/{{ NITTER_USER }}/nitter"
become: true become: true
become_user: "{{ NITTER_USER }}" become_user: "{{ NITTER_USER }}"
- name: Copy nitter build script - name: Template and copy nitter build script
ansible.builtin.template: ansible.builtin.template:
src: buildnitter.sh src: buildnitter.sh
dest: "/home/{{ NITTER_USER }}/buildnitter.sh" dest: "/home/{{ NITTER_USER }}/buildnitter.sh"