2016-12-14 15:49:34 +01:00
|
|
|
---
|
|
|
|
- name: Determine Nginx presence
|
2016-12-16 16:18:19 +01:00
|
|
|
stat:
|
|
|
|
path: /etc/nginx/nginx.conf
|
2017-01-31 11:45:35 +01:00
|
|
|
#check_mode: no (for migration to Ansible 2.2)
|
|
|
|
always_run: yes
|
2016-12-14 15:49:34 +01:00
|
|
|
register: stn
|
|
|
|
|
|
|
|
- name: Determine Apache presence
|
2016-12-16 16:18:19 +01:00
|
|
|
stat:
|
|
|
|
path: /etc/apache2/apache2.conf
|
2017-01-31 11:45:35 +01:00
|
|
|
#check_mode: no (for migration to Ansible 2.2)
|
|
|
|
always_run: yes
|
2016-12-14 15:49:34 +01:00
|
|
|
register: sta
|