ansible-nginx/tasks/main.yml

31 lines
748 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
2019-02-05 03:25:25 +07:00
- name: INCLUDE_TASKS | Install
include_tasks: "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
2019-02-05 03:25:25 +07:00
- name: IMPORT_TASKS| Prepare
import_tasks: prepare.yml
2017-07-19 20:57:41 +07:00
tags: ['nginx::site', 'nginx::ssl']
2016-01-12 00:20:42 +07:00
2019-02-05 03:25:25 +07:00
- name: IMPORT_TASKS| Install
import_tasks: config.yml
2015-12-09 23:06:59 +07:00
2019-02-05 03:25:25 +07:00
- name: IMPORT_TASKS| Upstream configuration
import_tasks: upstream.yml
2015-07-15 20:18:51 +07:00
2019-02-05 03:25:25 +07:00
- name: IMPORT_TASKS| htpasswd configuration
import_tasks: htpasswd.yml
2019-02-05 03:25:25 +07:00
- name: IMPORT_TASKS| SSL configuration
import_tasks: ssl/main.yml
2017-07-19 20:57:41 +07:00
tags: ['nginx::ssl']
2016-01-12 00:20:42 +07:00
2019-02-05 03:25:25 +07:00
- name: IMPORT_TASKS| Sites configuration
import_tasks: site.yml
2017-07-19 20:57:41 +07:00
tags: ['nginx::site']