aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/tasks/php.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nextcloud/tasks/php.yml')
-rw-r--r--roles/nextcloud/tasks/php.yml17
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 }}"
remember that computers suck.