finalize nextcloud roles

This commit is contained in:
vincent 2020-02-16 16:22:01 +01:00
parent 5b2447b867
commit a330f2cedf
2 changed files with 5 additions and 3 deletions

View File

@ -35,9 +35,10 @@
become: yes
- name: add {{user.name}} to hass group
become: true
user:
name: "{{ item }}"
groups: docker
groups: hass
append: true
with_items: "{{ hass_user }}"
@ -69,6 +70,7 @@
clone: yes # not required. If C(no), do not clone the repository if it does not exist locally
version: "{{hass_repo_branch}}"
notify: restart hass
become: true
when: hass_repo_exist.stat.exists == false
- name: change owner