File tree Expand file tree Collapse file tree 27 files changed +594
-7
lines changed
alpine-3-php7/conf/provision/roles/webdevops-php/tasks/bootstrap
alpine-3/conf/provision/roles/webdevops-php/tasks
centos-7-php56/conf/provision/roles/webdevops-php/tasks
centos-7/conf/provision/roles/webdevops-php/tasks
debian-7/conf/provision/roles/webdevops-php/tasks
debian-8-php7/conf/provision/roles/webdevops-php/tasks/bootstrap
debian-8/conf/provision/roles/webdevops-php/tasks
debian-9/conf/provision/roles/webdevops-php/tasks/bootstrap
ubuntu-12.04/conf/provision/roles/webdevops-php/tasks
ubuntu-14.04/conf/provision/roles/webdevops-php/tasks
ubuntu-15.04/conf/provision/roles/webdevops-php/tasks
ubuntu-15.10/conf/provision/roles/webdevops-php/tasks
ubuntu-16.04/conf/provision/roles/webdevops-php/tasks/bootstrap
documentation/docs/content
DockerImages/dockerfiles/include
provisioning/php/general/provision/roles/webdevops-php/tasks Expand file tree Collapse file tree 27 files changed +594
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ # ############################
4+ # Workaround PHP configuration files
5+ # for alpine
6+ # ############################
7+
8+ - name : Get list of PHP5 configuration files
9+ command : " ls /etc/php5/conf.d/ |grep .ini"
10+ register : php5_ini
11+ when : ansible_distribution == 'Alpine'
12+ ignore_errors : yes
13+
14+ - name : Link configuration files from php5 to php
15+ file :
16+ src : ' /etc/php5/conf.d/{{ item }}'
17+ dest : ' /etc/php/conf.d/{{ item }}'
18+ state : link
19+ with_items : " {{ php5_ini.stdout_lines }}"
20+ when : ansible_distribution == 'Alpine' and php5_ini is defined
21+ ignore_errors : yes
22+
23+ # ############################
24+ # Workaround PHP module files
25+ # for alpine
26+ # ############################
27+
28+ - name : Get list of PHP5 modules
29+ command : " ls /usr/lib/php5/modules/ |grep .so"
30+ register : php5_modules
31+ when : ansible_distribution == 'Alpine'
32+ ignore_errors : yes
33+
34+ - name : Link module files from php5 to php
35+ file :
36+ src : ' /usr/lib/php5/modules/{{ item }}'
37+ dest : ' /usr/lib/php/modules/{{ item }}'
38+ state : link
39+ with_items : " {{ php5_modules.stdout_lines }}"
40+ when : ansible_distribution == 'Alpine' and php5_modules is defined
41+ ignore_errors : yes
Original file line number Diff line number Diff line change 11---
22
33- include : bootstrap/php.yml
4+ - include : bootstrap/php-module.yml
45- include : bootstrap/php-fpm.main.yml
56- include : bootstrap/php-fpm.pool.yml
67- include : bootstrap/php-fpm.yml
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # ############################
4+ # Workaround PHP configuration files
5+ # for alpine
6+ # ############################
7+
8+ - name : Get list of PHP5 configuration files
9+ command : " ls /etc/php5/conf.d/ |grep .ini"
10+ register : php5_ini
11+ when : ansible_distribution == 'Alpine'
12+ ignore_errors : yes
13+
14+ - name : Link configuration files from php5 to php
15+ file :
16+ src : ' /etc/php5/conf.d/{{ item }}'
17+ dest : ' /etc/php/conf.d/{{ item }}'
18+ state : link
19+ with_items : " {{ php5_ini.stdout_lines }}"
20+ when : ansible_distribution == 'Alpine' and php5_ini is defined
21+ ignore_errors : yes
22+
23+ # ############################
24+ # Workaround PHP module files
25+ # for alpine
26+ # ############################
27+
28+ - name : Get list of PHP5 modules
29+ command : " ls /usr/lib/php5/modules/ |grep .so"
30+ register : php5_modules
31+ when : ansible_distribution == 'Alpine'
32+ ignore_errors : yes
33+
34+ - name : Link module files from php5 to php
35+ file :
36+ src : ' /usr/lib/php5/modules/{{ item }}'
37+ dest : ' /usr/lib/php/modules/{{ item }}'
38+ state : link
39+ with_items : " {{ php5_modules.stdout_lines }}"
40+ when : ansible_distribution == 'Alpine' and php5_modules is defined
41+ ignore_errors : yes
Original file line number Diff line number Diff line change 11---
22
33- include : bootstrap/php.yml
4+ - include : bootstrap/php-module.yml
45- include : bootstrap/php-fpm.main.yml
56- include : bootstrap/php-fpm.pool.yml
67- include : bootstrap/php-fpm.yml
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # ############################
4+ # Workaround PHP configuration files
5+ # for alpine
6+ # ############################
7+
8+ - name : Get list of PHP5 configuration files
9+ command : " ls /etc/php5/conf.d/ |grep .ini"
10+ register : php5_ini
11+ when : ansible_distribution == 'Alpine'
12+ ignore_errors : yes
13+
14+ - name : Link configuration files from php5 to php
15+ file :
16+ src : ' /etc/php5/conf.d/{{ item }}'
17+ dest : ' /etc/php/conf.d/{{ item }}'
18+ state : link
19+ with_items : " {{ php5_ini.stdout_lines }}"
20+ when : ansible_distribution == 'Alpine' and php5_ini is defined
21+ ignore_errors : yes
22+
23+ # ############################
24+ # Workaround PHP module files
25+ # for alpine
26+ # ############################
27+
28+ - name : Get list of PHP5 modules
29+ command : " ls /usr/lib/php5/modules/ |grep .so"
30+ register : php5_modules
31+ when : ansible_distribution == 'Alpine'
32+ ignore_errors : yes
33+
34+ - name : Link module files from php5 to php
35+ file :
36+ src : ' /usr/lib/php5/modules/{{ item }}'
37+ dest : ' /usr/lib/php/modules/{{ item }}'
38+ state : link
39+ with_items : " {{ php5_modules.stdout_lines }}"
40+ when : ansible_distribution == 'Alpine' and php5_modules is defined
41+ ignore_errors : yes
Original file line number Diff line number Diff line change 11---
22
33- include : bootstrap/php.yml
4+ - include : bootstrap/php-module.yml
45- include : bootstrap/php-fpm.main.yml
56- include : bootstrap/php-fpm.pool.yml
67- include : bootstrap/php-fpm.yml
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # ############################
4+ # Workaround PHP configuration files
5+ # for alpine
6+ # ############################
7+
8+ - name : Get list of PHP5 configuration files
9+ command : " ls /etc/php5/conf.d/ |grep .ini"
10+ register : php5_ini
11+ when : ansible_distribution == 'Alpine'
12+ ignore_errors : yes
13+
14+ - name : Link configuration files from php5 to php
15+ file :
16+ src : ' /etc/php5/conf.d/{{ item }}'
17+ dest : ' /etc/php/conf.d/{{ item }}'
18+ state : link
19+ with_items : " {{ php5_ini.stdout_lines }}"
20+ when : ansible_distribution == 'Alpine' and php5_ini is defined
21+ ignore_errors : yes
22+
23+ # ############################
24+ # Workaround PHP module files
25+ # for alpine
26+ # ############################
27+
28+ - name : Get list of PHP5 modules
29+ command : " ls /usr/lib/php5/modules/ |grep .so"
30+ register : php5_modules
31+ when : ansible_distribution == 'Alpine'
32+ ignore_errors : yes
33+
34+ - name : Link module files from php5 to php
35+ file :
36+ src : ' /usr/lib/php5/modules/{{ item }}'
37+ dest : ' /usr/lib/php/modules/{{ item }}'
38+ state : link
39+ with_items : " {{ php5_modules.stdout_lines }}"
40+ when : ansible_distribution == 'Alpine' and php5_modules is defined
41+ ignore_errors : yes
Original file line number Diff line number Diff line change 11---
22
33- include : bootstrap/php.yml
4+ - include : bootstrap/php-module.yml
45- include : bootstrap/php-fpm.main.yml
56- include : bootstrap/php-fpm.pool.yml
67- include : bootstrap/php-fpm.yml
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # ############################
4+ # Workaround PHP configuration files
5+ # for alpine
6+ # ############################
7+
8+ - name : Get list of PHP5 configuration files
9+ command : " ls /etc/php5/conf.d/ |grep .ini"
10+ register : php5_ini
11+ when : ansible_distribution == 'Alpine'
12+ ignore_errors : yes
13+
14+ - name : Link configuration files from php5 to php
15+ file :
16+ src : ' /etc/php5/conf.d/{{ item }}'
17+ dest : ' /etc/php/conf.d/{{ item }}'
18+ state : link
19+ with_items : " {{ php5_ini.stdout_lines }}"
20+ when : ansible_distribution == 'Alpine' and php5_ini is defined
21+ ignore_errors : yes
22+
23+ # ############################
24+ # Workaround PHP module files
25+ # for alpine
26+ # ############################
27+
28+ - name : Get list of PHP5 modules
29+ command : " ls /usr/lib/php5/modules/ |grep .so"
30+ register : php5_modules
31+ when : ansible_distribution == 'Alpine'
32+ ignore_errors : yes
33+
34+ - name : Link module files from php5 to php
35+ file :
36+ src : ' /usr/lib/php5/modules/{{ item }}'
37+ dest : ' /usr/lib/php/modules/{{ item }}'
38+ state : link
39+ with_items : " {{ php5_modules.stdout_lines }}"
40+ when : ansible_distribution == 'Alpine' and php5_modules is defined
41+ ignore_errors : yes
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # ############################
4+ # Workaround PHP configuration files
5+ # for alpine
6+ # ############################
7+
8+ - name : Get list of PHP5 configuration files
9+ command : " ls /etc/php5/conf.d/ |grep .ini"
10+ register : php5_ini
11+ when : ansible_distribution == 'Alpine'
12+ ignore_errors : yes
13+
14+ - name : Link configuration files from php5 to php
15+ file :
16+ src : ' /etc/php5/conf.d/{{ item }}'
17+ dest : ' /etc/php/conf.d/{{ item }}'
18+ state : link
19+ with_items : " {{ php5_ini.stdout_lines }}"
20+ when : ansible_distribution == 'Alpine' and php5_ini is defined
21+ ignore_errors : yes
22+
23+ # ############################
24+ # Workaround PHP module files
25+ # for alpine
26+ # ############################
27+
28+ - name : Get list of PHP5 modules
29+ command : " ls /usr/lib/php5/modules/ |grep .so"
30+ register : php5_modules
31+ when : ansible_distribution == 'Alpine'
32+ ignore_errors : yes
33+
34+ - name : Link module files from php5 to php
35+ file :
36+ src : ' /usr/lib/php5/modules/{{ item }}'
37+ dest : ' /usr/lib/php/modules/{{ item }}'
38+ state : link
39+ with_items : " {{ php5_modules.stdout_lines }}"
40+ when : ansible_distribution == 'Alpine' and php5_modules is defined
41+ ignore_errors : yes
You can’t perform that action at this time.
0 commit comments