Try fix travis: php service not started
parent
a1866f806f
commit
2a5a1701f3
|
@ -70,17 +70,18 @@
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
state: present
|
state: present
|
||||||
with_items: "{{ nginx_php }}"
|
with_items: "{{ nginx_php }}"
|
||||||
|
register: apt_php
|
||||||
|
|
||||||
- name: SERVICE | Force start fcgiwrap
|
- name: SERVICE | Force start fcgiwrap
|
||||||
service:
|
service:
|
||||||
name: "fcgiwrap"
|
name: "fcgiwrap"
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
- name: SERVICE | Force start PHP
|
# Bypasses Ansible 2.4 issue (cannot use service module)... With service module... php is not really started!
|
||||||
service:
|
- name: COMMAND | Force start PHP
|
||||||
name: "{{ item.version | php_fpm_service }}"
|
command: "service {{ item.version | php_fpm_service }} start"
|
||||||
state: started
|
|
||||||
with_items: "{{ nginx_php }}"
|
with_items: "{{ 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