Don't provision occ script on every machine

It only makes sense on 1
This commit is contained in:
Jake Howard 2022-01-21 22:28:13 +00:00
parent 6db0500e1b
commit 7e6e630808
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 8 additions and 0 deletions

View file

@ -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