1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

weird template error use copy instead

This commit is contained in:
Jerry Vonau 2021-08-09 17:03:05 -05:00
parent ad1fab91ef
commit 842808e70f

View file

@ -36,9 +36,9 @@
- block:
- name: Supply asterisk.conf to /etc/php/{{ php_version }}/fpm/pool.d/ with asterisk as the user
template:
src: asterisk.conf
dest: /etc/php/{{ php_version }}/fpm/pool.d/
copy:
src: roles/pbx/templates/asterisk.conf
dest: /etc/php/{{ php_version }}/fpm/pool.d/asterisk.conf
when: pbx_enabled
- name: Remove /etc/php/{{ php_version }}/fpm/pool.d/asterisk.conf when disabled