|
|
|
@ -56,7 +56,10 @@
|
|
|
|
|
- name: Install Nextcloud
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
command: >-
|
|
|
|
|
/usr/bin/php occ maintenance:install
|
|
|
|
|
/usr/bin/php
|
|
|
|
|
--define apc.enable_cli=1
|
|
|
|
|
occ
|
|
|
|
|
maintenance:install
|
|
|
|
|
--database mysql
|
|
|
|
|
--database-name {{ database_name | quote }}
|
|
|
|
|
--database-user {{ database_user | quote }}
|
|
|
|
@ -82,7 +85,9 @@
|
|
|
|
|
- name: Import additional Nextcloud configuration
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
command: >-
|
|
|
|
|
/usr/bin/php occ
|
|
|
|
|
/usr/bin/php
|
|
|
|
|
--define apc.enable_cli=1
|
|
|
|
|
occ
|
|
|
|
|
config:import
|
|
|
|
|
{{ import_config_file | quote }}
|
|
|
|
|
args:
|
|
|
|
@ -112,7 +117,9 @@
|
|
|
|
|
- name: Install Nextcloud apps
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
command: >-
|
|
|
|
|
/usr/bin/php occ
|
|
|
|
|
/usr/bin/php
|
|
|
|
|
--define apc.enable_cli=1
|
|
|
|
|
occ
|
|
|
|
|
app:install
|
|
|
|
|
{{ item | quote }}
|
|
|
|
|
args:
|
|
|
|
@ -130,7 +137,9 @@
|
|
|
|
|
- name: Disable some Nextcloud apps
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
command: >-
|
|
|
|
|
/usr/bin/php occ
|
|
|
|
|
/usr/bin/php
|
|
|
|
|
--define apc.enable_cli=1
|
|
|
|
|
occ
|
|
|
|
|
app:disable
|
|
|
|
|
{{ item | quote }}
|
|
|
|
|
args:
|
|
|
|
|