|
7 | 7 | when: nginx_load_default_vars
|
8 | 8 | tags: [always]
|
9 | 9 |
|
10 |
| -- import_tasks: selinux.yml |
| 10 | +- include_tasks: selinux.yml |
11 | 11 | when: ansible_selinux and ansible_selinux.status == "enabled"
|
12 | 12 | tags: [packages, selinux, nginx]
|
13 | 13 |
|
14 |
| -- import_tasks: nginx-official-repo.yml |
| 14 | +- include_tasks: nginx-official-repo.yml |
15 | 15 | when: nginx_official_repo == True
|
16 | 16 | tags: [packages, nginx]
|
17 | 17 |
|
18 |
| -- import_tasks: installation.packages.yml |
| 18 | +- include_tasks: installation.packages.yml |
19 | 19 | when: nginx_installation_type == "packages"
|
20 | 20 | tags: [packages, nginx]
|
21 | 21 |
|
22 | 22 | - import_tasks: ensure-dirs.yml
|
23 | 23 | tags: [configuration, nginx]
|
24 | 24 |
|
25 |
| -- import_tasks: remove-defaults.yml |
| 25 | +- include_tasks: remove-defaults.yml |
26 | 26 | when: not nginx_keep_only_specified
|
27 | 27 | tags: [configuration, nginx]
|
28 | 28 |
|
29 |
| -- import_tasks: remove-extras.yml |
| 29 | +- include_tasks: remove-extras.yml |
30 | 30 | when: nginx_keep_only_specified
|
31 | 31 | tags: [configuration, nginx]
|
32 | 32 |
|
|
36 | 36 | - import_tasks: configuration.yml
|
37 | 37 | tags: [configuration, nginx]
|
38 | 38 |
|
39 |
| -- include: cloudflare_configuration.yml |
| 39 | +- include_tasks: cloudflare_configuration.yml |
40 | 40 | when: nginx_set_real_ip_from_cloudflare == True
|
41 | 41 | tags: [configuration, nginx]
|
42 | 42 |
|
|
0 commit comments