31 lines
748 B
YAML
31 lines
748 B
YAML
---
|
|
|
|
- name: INCLUDE_VARS | Related to OS
|
|
include_vars: "{{ ansible_distribution }}.yml"
|
|
tags: ['nginx::site', 'nginx::ssl']
|
|
|
|
- name: INCLUDE_TASKS | Install
|
|
include_tasks: "install_{{ ansible_distribution }}.yml"
|
|
tags: ['nginx::site', 'nginx::ssl']
|
|
|
|
- name: IMPORT_TASKS| Prepare
|
|
import_tasks: prepare.yml
|
|
tags: ['nginx::site', 'nginx::ssl']
|
|
|
|
- name: IMPORT_TASKS| Install
|
|
import_tasks: config.yml
|
|
|
|
- name: IMPORT_TASKS| Upstream configuration
|
|
import_tasks: upstream.yml
|
|
|
|
- name: IMPORT_TASKS| htpasswd configuration
|
|
import_tasks: htpasswd.yml
|
|
|
|
- name: IMPORT_TASKS| SSL configuration
|
|
import_tasks: ssl/main.yml
|
|
tags: ['nginx::ssl']
|
|
|
|
- name: IMPORT_TASKS| Sites configuration
|
|
import_tasks: site.yml
|
|
tags: ['nginx::site']
|