PR #109 Cleanup.

This commit is contained in:
Jeff Geerling 2016-04-11 20:27:47 -05:00
parent 4c890b2ddb
commit cbc252ef70

View File

@ -9,18 +9,19 @@
php_fpm_pool_conf_path: "{{ __php_fpm_pool_conf_path }}"
when: php_fpm_pool_conf_path is not defined
- name: Obtain status of {{ php_fpm_pool_conf_path | dirname }}
stat: path={{ php_fpm_pool_conf_path | dirname }}
- name: Stat php_fpm_pool_conf_path
stat:
path: "{{ php_fpm_pool_conf_path | dirname }}"
register: php_fpm_pool_conf_path_dir_stat
- name: Ensure the default pool directory exists.
when: php_fpm_pool_conf_path_dir_stat.stat.islnk is not defined
file:
path: "{{ php_fpm_pool_conf_path | dirname }}"
state: directory
owner: root
group: root
mode: 0755
when: php_fpm_pool_conf_path_dir_stat.stat.islnk is not defined
- name: Ensure the default pool exists.
copy: