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