ansible-nginx/tasks/main.yml

35 lines
807 B
YAML
Raw Normal View History

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"
2017-07-19 20:57:41 +07:00
tags: ['nginx::site', 'nginx::ssl']
2016-03-05 21:07:39 +07:00
2016-01-12 00:20:42 +07:00
- name: INCLUDE | Install
2016-03-05 21:07:39 +07:00
include: install_{{ ansible_distribution }}.yml
2017-07-19 20:57:41 +07:00
tags: ['nginx::site', 'nginx::ssl']
2016-01-12 00:20:42 +07:00
- name: INCLUDE | Prepare
include: prepare.yml
2017-07-19 20:57:41 +07:00
tags: ['nginx::site', 'nginx::ssl']
2016-01-12 00:20:42 +07:00
2016-10-12 23:13:59 +07:00
- name: INCLUDE | Manage dynamic modules
include: dyn_modules.yml
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
- 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
2017-07-19 20:57:41 +07:00
tags: ['nginx::ssl']
2016-01-12 00:20:42 +07:00
- name: INCLUDE | Sites configuration
include: site.yml
2017-07-19 20:57:41 +07:00
tags: ['nginx::site']