finalize nextcloud roles
This commit is contained in:
parent
5b2447b867
commit
a330f2cedf
@ -35,9 +35,10 @@
|
|||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
- name: add {{user.name}} to hass group
|
- name: add {{user.name}} to hass group
|
||||||
|
become: true
|
||||||
user:
|
user:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
groups: docker
|
groups: hass
|
||||||
append: true
|
append: true
|
||||||
with_items: "{{ hass_user }}"
|
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
|
clone: yes # not required. If C(no), do not clone the repository if it does not exist locally
|
||||||
version: "{{hass_repo_branch}}"
|
version: "{{hass_repo_branch}}"
|
||||||
notify: restart hass
|
notify: restart hass
|
||||||
|
become: true
|
||||||
when: hass_repo_exist.stat.exists == false
|
when: hass_repo_exist.stat.exists == false
|
||||||
|
|
||||||
- name: change owner
|
- name: change owner
|
||||||
|
Loading…
Reference in New Issue
Block a user