From bbe86222daf9cf129a001a1d1d58de46c0b3680f Mon Sep 17 00:00:00 2001 From: uumas Date: Tue, 20 Jun 2023 15:57:43 +0300 Subject: [PATCH 1/3] wordpress: add libssl-dev as a requirement for memcached (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038149 --- roles/wordpress/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/wordpress/tasks/main.yml b/roles/wordpress/tasks/main.yml index bb9465c..fed51b8 100644 --- a/roles/wordpress/tasks/main.yml +++ b/roles/wordpress/tasks/main.yml @@ -12,7 +12,7 @@ - name: Add memcached php extension to container set_fact: dockerfile: "{{ dockerfile | combine({'run': \ - ['apt-get update && apt-get install -y libmemcached-dev zlib1g-dev && \ + ['apt-get update && apt-get install -y libmemcached-dev libssl-dev zlib1g-dev && \ pecl install memcached-3.2.0 && docker-php-ext-enable memcached']}, list_merge='append') }}" when: "'memcached' in docker_additional_services" From 851ff2aaf84cc0f45d904b007da818ffea51a903 Mon Sep 17 00:00:00 2001 From: uumas Date: Tue, 27 Jun 2023 17:22:39 +0300 Subject: [PATCH 2/3] wordpress: support configuring php timeouts --- roles/wordpress/defaults/main.yml | 2 ++ roles/wordpress/templates/php.ini.j2 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/roles/wordpress/defaults/main.yml b/roles/wordpress/defaults/main.yml index 10a56c5..d25e50f 100644 --- a/roles/wordpress/defaults/main.yml +++ b/roles/wordpress/defaults/main.yml @@ -10,3 +10,5 @@ wordpress_symlinks: false wordpress_php_memory_limit: 256M wordpress_php_post_max_size: 128M wordpress_php_upload_max_filesize: 32M +wordpress_php_max_execution_time: 30 +wordpress_php_max_input_time: 60 diff --git a/roles/wordpress/templates/php.ini.j2 b/roles/wordpress/templates/php.ini.j2 index f753dd9..06a8e83 100644 --- a/roles/wordpress/templates/php.ini.j2 +++ b/roles/wordpress/templates/php.ini.j2 @@ -3,3 +3,5 @@ memory_limit = {{ wordpress_php_memory_limit }} post_max_size = {{ wordpress_php_post_max_size }} upload_max_filesize = {{ wordpress_php_upload_max_filesize }} +max_execution_time = {{ wordpress_php_max_execution_time }} +max_input_time = {{ wordpress_php_max_input_time }} From 0b76fd58c72ae8db1446c233e4e01db58f454f27 Mon Sep 17 00:00:00 2001 From: uumas Date: Tue, 27 Jun 2023 17:22:58 +0300 Subject: [PATCH 3/3] v0.8.6 --- galaxy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy.yml b/galaxy.yml index 87675d0..42d51d6 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -3,7 +3,7 @@ namespace: uumas name: docker description: Roles for installing services in docker containers -version: 0.8.5 +version: 0.8.6 readme: README.md repository: https://git.uumas.fi/uumas/ansible-docker license_file: LICENSE