|
|
|
@ -84,7 +84,7 @@
|
|
|
|
|
command: >-
|
|
|
|
|
/usr/bin/php occ
|
|
|
|
|
config:import
|
|
|
|
|
{{ import_config_file }}
|
|
|
|
|
{{ import_config_file | quote }}
|
|
|
|
|
args:
|
|
|
|
|
chdir: "{{ nextcloud_installation_directory }}"
|
|
|
|
|
creates: "{{ nextcloud_config }}"
|
|
|
|
@ -94,7 +94,10 @@
|
|
|
|
|
|
|
|
|
|
- name: Install Nextcloud apps
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
command: "/usr/bin/php occ app:install {{ item | quote }}"
|
|
|
|
|
command: >-
|
|
|
|
|
/usr/bin/php occ
|
|
|
|
|
app:install
|
|
|
|
|
{{ item | quote }}
|
|
|
|
|
args:
|
|
|
|
|
chdir: "{{ nextcloud_installation_directory }}"
|
|
|
|
|
register: nextcloud_apps_install_results
|
|
|
|
@ -108,7 +111,10 @@
|
|
|
|
|
|
|
|
|
|
- name: Disable some Nextcloud apps
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
command: "/usr/bin/php occ app:disable {{ item | quote }}"
|
|
|
|
|
command: >-
|
|
|
|
|
/usr/bin/php occ
|
|
|
|
|
app:disable
|
|
|
|
|
{{ item | quote }}
|
|
|
|
|
args:
|
|
|
|
|
chdir: "{{ nextcloud_installation_directory }}"
|
|
|
|
|
register: nextcloud_apps_install_results
|
|
|
|
@ -123,7 +129,7 @@
|
|
|
|
|
name: "nextcloud cron for {{ domain }}"
|
|
|
|
|
minute: "*/5"
|
|
|
|
|
job: >-
|
|
|
|
|
sudo -u {{ system_user }}
|
|
|
|
|
sudo -u {{ system_user | quote }}
|
|
|
|
|
/usr/bin/php
|
|
|
|
|
--define apc.enable_cli=1
|
|
|
|
|
--file {{ nextcloud_installation_directory | quote }}/cron.php
|
|
|
|
|