mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-09 12:42:10 +07:00
Remove ansible 2.3 warnings - fixes #29
This commit is contained in:
@@ -38,10 +38,10 @@
|
||||
when: nginx_php70
|
||||
|
||||
- name: SERVICE | Force start services
|
||||
service: name={{ item.name }} state=started
|
||||
service: name="{{ item.name }}" state=started
|
||||
register: sf
|
||||
with_items:
|
||||
- { name: 'php5-fpm', cond: "{{ nginx_php56 }}" }
|
||||
- { name: 'php7.0-fpm', cond: "{{ nginx_php70 }}" }
|
||||
- { name: 'fcgiwrap', cond: true }
|
||||
when: "{{ item.cond }}"
|
||||
when: item.cond
|
||||
|
||||
Reference in New Issue
Block a user