Compare commits

..

1 Commits

Author SHA1 Message Date
Yves G 112fd6053d miscellaneous fixes 2021-11-05 08:55:44 +01:00
1 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@
- name: ensure Nextcloud ownership - name: ensure Nextcloud ownership
block: block:
- name: ensure Nextcloud ownership: prepare file - name: ensure Nextcloud ownership — prepare file
shell: > shell: >
sed -r ' sed -r '
/%[CL]/ d; /%[CL]/ d;
@ -125,20 +125,20 @@
>/tmp/nextcloud.conf >/tmp/nextcloud.conf
changed_when: false changed_when: false
- name: ensure Nextcloud ownership: install file - name: ensure Nextcloud ownership — install file
copy: copy:
src: /tmp/nextcloud.conf src: /tmp/nextcloud.conf
dest: /etc/tmpfiles.d/nextcloud.conf dest: /etc/tmpfiles.d/nextcloud.conf
remote_src: true remote_src: true
always: always:
- name: ensure Nextcloud ownership: cleanup - name: ensure Nextcloud ownership — cleanup
file: file:
path: /tmp/nextcloud.conf path: /tmp/nextcloud.conf
state: absent state: absent
changed_when: false changed_when: false
- name: ensure Nextcloud ownership: apply - name: ensure Nextcloud ownership — apply
command: systemd-tmpfiles --create command: systemd-tmpfiles --create
changed_when: false changed_when: false