Don't provision occ script on every machine
It only makes sense on 1
This commit is contained in:
parent
6db0500e1b
commit
7e6e630808
2 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,14 @@
|
||||||
register: config_file
|
register: config_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Install occ script
|
||||||
|
template:
|
||||||
|
src: files/nextcloud/occ
|
||||||
|
dest: /opt/nextcloud/occ
|
||||||
|
mode: "0755"
|
||||||
|
owner: "{{ docker_user.name }}"
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: restart nextcloud
|
- name: restart nextcloud
|
||||||
shell:
|
shell:
|
||||||
chdir: /opt/nextcloud
|
chdir: /opt/nextcloud
|
||||||
|
|
Loading…
Reference in a new issue