Skip to content

Commit f207525

Browse files
committed
Fixed centos/redhat provisioning
1 parent 929581c commit f207525

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

provision/roles/boilerplate-main/tasks/bootstrap.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
- stat: path=/usr/sbin/php-fpm7.0
99
register: php7_debian
1010

11-
- name: Fact - php5 pool [RedHat family]
11+
- name: Fact - php5 [RedHat family]
1212
set_fact:
1313
php_pool_conf: /etc/php-fpm.d/www.conf
14+
php_base_path: false
1415
when: ansible_os_family == 'RedHat'
1516

16-
- name: Fact - php5 pool [Debian family]
17+
- name: Fact - php5 [Debian family]
1718
set_fact:
1819
php_pool_conf: /etc/php5/fpm/pool.d/www.conf
1920
php_base_path: /etc/php5
2021
when: ansible_os_family == 'Debian'
2122

22-
- name: Fact - php7 pool [Debian family]
23+
- name: Fact - php7 [Debian family]
2324
set_fact:
2425
php_pool_conf: /etc/php/7.0/fpm/pool.d/www.conf
2526
php_base_path: /etc/php/7.0
@@ -43,7 +44,7 @@
4344
- include: bootstrap/postfix.yml
4445
when: MAIL is defined
4546

46-
- include: bootstrap/php.redhat.yml
47+
- include: bootstrap/php.redhat.yml php_base_path="{{ php_base_path }}"
4748
when: ansible_os_family == 'RedHat'
4849

4950
- include: bootstrap/php.debian.yml php_base_path="{{ php_base_path }}"

0 commit comments

Comments
 (0)