server/nextcloud: Enable apc on using occ commands

Required since Nextcloud 21
master
Felix Stupp 3 years ago
parent 1bf40022a9
commit e267e345da
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

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

Loading…
Cancel
Save