make sure init.sh is owned by nitter user nim/tasks/main.yml

This commit is contained in:
staticsafe 2021-09-11 11:31:54 -04:00
parent 7526fed30e
commit 07b7e75171
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@
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'
owner: "{{ NITTER_USER }}"
group: "{{ NITTER_USER }}"
become: true become: true
become_user: "{{ NITTER_USER }}" become_user: "{{ NITTER_USER }}"
- name: Run choosenim install script - name: Run choosenim install script