become nitter user in nim/tasks/main.yml
This commit is contained in:
parent
a674b5321d
commit
7526fed30e
|
@ -5,5 +5,9 @@
|
||||||
url: https://nim-lang.org/choosenim/init.sh
|
url: https://nim-lang.org/choosenim/init.sh
|
||||||
dest: "/home/{{ NITTER_USER }}/init.sh"
|
dest: "/home/{{ NITTER_USER }}/init.sh"
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
become: true
|
||||||
|
become_user: "{{ NITTER_USER }}"
|
||||||
- name: Run choosenim install script
|
- name: Run choosenim install script
|
||||||
ansible.builtin.shell: "/home/{{ NITTER_USER }}/init.sh -y"
|
ansible.builtin.shell: "/home/{{ NITTER_USER }}/init.sh -y"
|
||||||
|
become: true
|
||||||
|
become_user: "{{ NITTER_USER }}"
|
||||||
|
|
Loading…
Reference in New Issue