From ebbe1f23dde2d69c4c17471e6f327e24a200f35f Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Fri, 21 Feb 2025 14:08:06 +0100 Subject: [PATCH] add ansible_managed --- templates/logrotate.conf.jj | 1 + templates/php_apache_config.conf.jj | 1 + templates/php_sury_sources.list | 1 + templates/www.conf | 1 + 4 files changed, 4 insertions(+) diff --git a/templates/logrotate.conf.jj b/templates/logrotate.conf.jj index d4a92e7..488b695 100644 --- a/templates/logrotate.conf.jj +++ b/templates/logrotate.conf.jj @@ -1,3 +1,4 @@ +#{{ ansible_managed }} {{ php_fpm_log_dir }}/php_fpm_{{ php_pool_name }}*.log { daily rotate 15 diff --git a/templates/php_apache_config.conf.jj b/templates/php_apache_config.conf.jj index 099f228..982c5b3 100644 --- a/templates/php_apache_config.conf.jj +++ b/templates/php_apache_config.conf.jj @@ -1,3 +1,4 @@ +"{{ ansible_managed }}" SetHandler "proxy:unix:{{ php_fpm_listen_socket }}|fcgi://localhost/" \ No newline at end of file diff --git a/templates/php_sury_sources.list b/templates/php_sury_sources.list index e37fbdb..42481d4 100644 --- a/templates/php_sury_sources.list +++ b/templates/php_sury_sources.list @@ -1 +1,2 @@ +"{{ ansible_managed }}" deb [signed-by=/etc/apt/keyrings/sury_php.gpg] https://packages.sury.org/php/ {{ ansible_distribution_release }} main diff --git a/templates/www.conf b/templates/www.conf index ac877cc..e39c6fe 100644 --- a/templates/www.conf +++ b/templates/www.conf @@ -1,3 +1,4 @@ +"{{ ansible_managed }}" [{{ php_pool_name }}] user = {{ php_fpm_pool_user }} group = {{ php_fpm_pool_group }}