Skip to content

Commit

Permalink
removes import task for deleted tasks file, we do config removal diff…
Browse files Browse the repository at this point in the history
…erently now

Co-authored-by: Carolyn Cole <[email protected]>
Co-authored-by: Jane Sandberg <[email protected]>
Co-authored-by: regineheberlein <[email protected]>
  • Loading branch information
4 people committed Apr 16, 2024
1 parent 07e825f commit 7020a5a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions roles/nginxplus/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,28 @@

- name: Install NGINX
block:

- import_tasks: opensource/install-oss.yml
when: nginx_type == "opensource"

- import_tasks: plus/install-plus.yml
when: nginx_type == "plus"

- import_tasks: conf/cleanup-config.yml
when: nginx_cleanup_config

- import_tasks: modules/install-modules.yml
when: true in nginx_modules.values()

- import_tasks: conf/upload-config.yml
when: nginx_main_upload_enable
or nginx_http_upload_enable
or nginx_template_upload_enable
or nginx_stream_upload_enable
or nginx_html_upload_enable
or nginx_ssl_upload_enable
or nginx_http_upload_enable
or nginx_template_upload_enable
or nginx_stream_upload_enable
or nginx_html_upload_enable
or nginx_ssl_upload_enable

- import_tasks: conf/template-config.yml
when: nginx_main_template_enable
or nginx_http_template_enable
or nginx_stream_template_enable
or nginx_rest_api_enable
or nginx_http_template_enable
or nginx_stream_template_enable
or nginx_rest_api_enable

- import_tasks: validate.yml
when: nginx_type == "plus"
Expand Down

0 comments on commit 7020a5a

Please sign in to comment.