diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-02-13 23:10:06 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-02-13 23:16:09 +0100 |
commit | b1f371ec9d587e3727e85afe34473ed154d1fc48 (patch) | |
tree | 8bdb6ba50c499d77262bfa9cb5a845353c9cdcd4 /roles/nextcloud/tasks/php.yml | |
parent | 2a53a9778d87e6f525c6cf4f23052f1f3d35911e (diff) | |
download | rules-b1f371ec9d587e3727e85afe34473ed154d1fc48.tar.gz |
feat(roles/nextcloud): automate with occ
Diffstat (limited to 'roles/nextcloud/tasks/php.yml')
-rw-r--r-- | roles/nextcloud/tasks/php.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/nextcloud/tasks/php.yml b/roles/nextcloud/tasks/php.yml new file mode 100644 index 0000000..9721e8f --- /dev/null +++ b/roles/nextcloud/tasks/php.yml @@ -0,0 +1,17 @@ +--- + +- name: apply php settings + community.general.ini_file: + path: "{{ nextcloud__php_configuration_file }}" + section: "{{ item.section }}" + option: "{{ item.option }}" + value: "{{ item.value }}" + loop: "{{ nextcloud__php_settings }}" + +- name: apply php-fpm settings + community.general.ini_file: + path: "{{ nextcloud__php_fpm_configuration_file }}" + section: "{{ item.section }}" + option: "{{ item.option }}" + value: "{{ item.value }}" + loop: "{{ nextcloud__php_fpm_settings }}" |