|
1 | 1 | ---
|
2 | 2 | - import_tasks: prerequisites/install-prerequisites.yml
|
| 3 | + tags: nginx_prerequisites |
3 | 4 |
|
4 | 5 | - import_tasks: keys/apt-key.yml
|
5 | 6 | when:
|
|
8 | 9 | or nginx_amplify_enable
|
9 | 10 | or nginx_controller_enable
|
10 | 11 | or nginx_unit_enable
|
| 12 | + tags: nginx_aptkey |
11 | 13 |
|
12 | 14 | - import_tasks: keys/rpm-key.yml
|
13 | 15 | when:
|
|
17 | 19 | or nginx_amplify_enable
|
18 | 20 | or nginx_controller_enable
|
19 | 21 | or nginx_unit_enable
|
| 22 | + tags: nginx_rpmkey |
20 | 23 |
|
21 | 24 | - import_tasks: keys/apk-key.yml
|
22 | 25 | when: ansible_os_family == "Alpine"
|
| 26 | + tags: nginx_apkkey |
23 | 27 |
|
24 | 28 | - name: "(Install: Debian/Ubuntu/CentOS/RedHat/FreeBSD) Install NGINX"
|
25 | 29 | block:
|
26 | 30 |
|
27 | 31 | - import_tasks: opensource/install-oss.yml
|
28 | 32 | when: nginx_type == "opensource"
|
| 33 | + tags: nginx_install_oss |
29 | 34 |
|
30 | 35 | - import_tasks: plus/install-plus.yml
|
31 | 36 | when: nginx_type == "plus"
|
| 37 | + tags: nginx_install_plus |
32 | 38 |
|
33 | 39 | - import_tasks: conf/cleanup-config.yml
|
34 | 40 | when: nginx_cleanup_config | bool
|
| 41 | + tags: nginx_cleanup_config |
35 | 42 |
|
36 | 43 | - import_tasks: conf/upload-config.yml
|
37 | 44 | when: nginx_main_upload_enable
|
38 | 45 | or nginx_http_upload_enable
|
39 | 46 | or nginx_stream_upload_enable
|
40 | 47 | or nginx_html_upload_enable
|
41 | 48 | or nginx_ssl_upload_enable
|
| 49 | + tags: nginx_upload_config |
42 | 50 |
|
43 | 51 | - import_tasks: conf/template-config.yml
|
44 | 52 | when: nginx_main_template_enable
|
45 | 53 | or nginx_http_template_enable
|
46 | 54 | or nginx_stream_template_enable
|
47 | 55 | or nginx_rest_api_enable
|
| 56 | + tags: nginx_template_config |
48 | 57 |
|
49 | 58 | - import_tasks: conf/setup-status.yml
|
50 | 59 | when: nginx_status_enable | bool
|
| 60 | + tags: nginx_setup_status |
51 | 61 |
|
52 | 62 | - import_tasks: modules/install-modules.yml
|
53 | 63 | when: true in nginx_modules.values()
|
| 64 | + tags: nginx_install_modules |
54 | 65 |
|
55 | 66 | - import_tasks: conf/debug-output.yml
|
56 | 67 | when: nginx_debug_output | bool
|
| 68 | + tags: nginx_debug_output |
57 | 69 |
|
58 | 70 | - import_tasks: plus/delete-license.yml
|
59 | 71 | when: nginx_type == "plus" and nginx_delete_license
|
| 72 | + tags: nginx_delete_license |
60 | 73 |
|
61 | 74 | when: nginx_enable | bool
|
62 | 75 |
|
|
65 | 78 | - nginx_amplify_enable | bool
|
66 | 79 | - nginx_amplify_api_key is defined
|
67 | 80 | - nginx_amplify_api_key | length > 0
|
| 81 | + tags: nginx_install_amplify |
68 | 82 |
|
69 | 83 | - import_tasks: controller/install-controller.yml
|
70 | 84 | when:
|
|
73 | 87 | - nginx_controller_api_key | length > 0
|
74 | 88 | - nginx_controller_api_endpoint is defined
|
75 | 89 | - nginx_controller_api_endpoint | length > 0
|
| 90 | + tags: nginx_install_controller |
76 | 91 |
|
77 | 92 | - import_tasks: unit/install-unit.yml
|
78 | 93 | when: nginx_unit_enable | bool
|
| 94 | + tags: nginx_install_unit |
0 commit comments