@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
21 lines (19 loc) • 449 B
YAML
- name: Ensure configuration directories exist
file:
path: "{{ item }}"
state: directory
follow: true
mode: 0755
with_flattened:
- "{{ php_conf_paths }}"
- "{{ php_extension_conf_paths }}"
- name: Place PHP configuration file in place
template:
src: php.ini.j2
dest: "{{ item }}/php.ini"
owner: root
mode: 0644
loop: "{{ php_conf_paths }}"
notify: restart webserver
when: php_use_managed_ini