become nitter user in nim/tasks/main.yml

This commit is contained in:
staticsafe 2021-09-11 11:29:53 -04:00
parent a674b5321d
commit 7526fed30e
1 changed files with 4 additions and 0 deletions

View File

@ -5,5 +5,9 @@
url: https://nim-lang.org/choosenim/init.sh
dest: "/home/{{ NITTER_USER }}/init.sh"
mode: '0755'
become: true
become_user: "{{ NITTER_USER }}"
- name: Run choosenim install script
ansible.builtin.shell: "/home/{{ NITTER_USER }}/init.sh -y"
become: true
become_user: "{{ NITTER_USER }}"