diff --git a/roles/zabbix/zabbix_server/templates/php-fpm_www.conf.j2 b/roles/zabbix/zabbix_server/files/php-fpm_www.conf.j2 similarity index 100% rename from roles/zabbix/zabbix_server/templates/php-fpm_www.conf.j2 rename to roles/zabbix/zabbix_server/files/php-fpm_www.conf.j2 diff --git a/roles/zabbix/zabbix_server/templates/php-fpm_zabbix.conf.j2 b/roles/zabbix/zabbix_server/files/php-fpm_zabbix.conf.j2 similarity index 100% rename from roles/zabbix/zabbix_server/templates/php-fpm_zabbix.conf.j2 rename to roles/zabbix/zabbix_server/files/php-fpm_zabbix.conf.j2 diff --git a/roles/zabbix/zabbix_server/tasks/install.yml b/roles/zabbix/zabbix_server/tasks/install.yml index 0995e15314..ecf7ee616c 100644 --- a/roles/zabbix/zabbix_server/tasks/install.yml +++ b/roles/zabbix/zabbix_server/tasks/install.yml @@ -84,8 +84,8 @@ - zabbix-configuration - name: Configure /etc/php-fpm.d/www.conf file - ansible.builtin.template: - src: php-fpm_www.conf.j2 + ansible.builtin.copy: + src: php-fpm_www.conf dest: /etc/php-fpm.d/www.conf mode: 0600 owner: nginx @@ -94,8 +94,8 @@ - zabbix-configuration - name: Configure nginx conf.d/zabbix.conf - ansible.builtin.template: - src: php-fpm_zabbix.conf.j2 + ansible.builtin.copy: + src: php-fpm_zabbix.conf dest: /etc/php-fpm.d/zabbix.conf mode: 0600 owner: nginx