Fix start PHP-FPM on Docker
parent
a9497f0c7f
commit
649c6b161b
|
@ -78,12 +78,13 @@
|
||||||
name: "fcgiwrap"
|
name: "fcgiwrap"
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
# Bypasses Ansible+Docker issue. With service module... php is not really started!
|
||||||
- name: COMMAND | Force start PHP
|
- name: COMMAND | Force start PHP
|
||||||
service:
|
command: "service {{ item.version | php_fpm_service }} start"
|
||||||
name: "{{ item.version | php_fpm_service }}"
|
args:
|
||||||
state: started
|
creates: "{{ item.version | php_default_upstream_socket }}"
|
||||||
|
warn: false
|
||||||
loop: "{{ nginx_php }}"
|
loop: "{{ nginx_php }}"
|
||||||
when: apt_php.changed
|
|
||||||
|
|
||||||
- name: GET_URL | Download ngrok
|
- name: GET_URL | Download ngrok
|
||||||
get_url:
|
get_url:
|
||||||
|
|
Loading…
Reference in New Issue