ansible-nginx/tasks/main.yml

31 lines
853 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
2021-09-01 16:58:39 +07:00
ansible.builtin.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
ansible.builtin.import_tasks: "install/main.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
2021-09-01 16:58:39 +07:00
ansible.builtin.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
2021-09-01 16:58:39 +07:00
ansible.builtin.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
2021-09-01 16:58:39 +07:00
ansible.builtin.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
2021-09-01 16:58:39 +07:00
ansible.builtin.import_tasks: htpasswd.yml
2019-02-05 03:25:25 +07:00
- name: IMPORT_TASKS| SSL configuration
2021-09-01 16:58:39 +07:00
ansible.builtin.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
2021-09-01 16:58:39 +07:00
ansible.builtin.import_tasks: site.yml
2017-07-19 20:57:41 +07:00
tags: ['nginx::site']