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-03-24 14:15:09 +01:00
|
|
|
check_mode: no
|
|
|
|
|
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-03-24 14:15:09 +01:00
|
|
|
check_mode: no
|
|
|
|
|
2016-12-14 15:49:34 +01:00
|
|
|
register: sta
|