2015-07-15 17:14:39 +07:00
|
|
|
---
|
2015-07-15 20:18:51 +07:00
|
|
|
|
2016-03-05 21:07:39 +07:00
|
|
|
- name: INCLUDE_VARS | Related to OS
|
|
|
|
include_vars: "{{ ansible_distribution }}.yml"
|
|
|
|
|
2016-01-12 00:20:42 +07:00
|
|
|
- name: INCLUDE | Install
|
2016-03-05 21:07:39 +07:00
|
|
|
include: install_{{ ansible_distribution }}.yml
|
2016-01-12 00:20:42 +07:00
|
|
|
|
|
|
|
- name: INCLUDE | Prepare
|
|
|
|
include: prepare.yml
|
|
|
|
|
2016-10-12 23:13:59 +07:00
|
|
|
- name: INCLUDE | Manage dynamic modules
|
|
|
|
include: dyn_modules.yml
|
2016-10-12 23:16:53 +07:00
|
|
|
when: nginx_version.stdout | version_compare('1.9.11', 'ge')
|
2016-10-12 23:13:59 +07:00
|
|
|
|
2016-01-12 00:20:42 +07:00
|
|
|
- name: INCLUDE | Install
|
|
|
|
include: config.yml
|
2015-12-09 23:06:59 +07:00
|
|
|
|
2015-07-15 21:26:27 +07:00
|
|
|
- name: INCLUDE | Upstream configuration
|
|
|
|
include: upstream.yml
|
2015-07-15 20:18:51 +07:00
|
|
|
|
2015-12-03 22:32:08 +07:00
|
|
|
- name: INCLUDE | htpasswd configuration
|
|
|
|
include: htpasswd.yml
|
|
|
|
|
2016-01-12 17:16:41 +07:00
|
|
|
- name: INCLUDE | SSL configuration
|
2016-01-12 00:20:42 +07:00
|
|
|
include: ssl.yml
|
|
|
|
|
2015-07-15 20:18:51 +07:00
|
|
|
- name: INCLUDE | Vhosts configuration
|
|
|
|
include: vhost.yml
|
|
|
|
|