Skip to content

Commit

Permalink
Run conditionally on nginx_config_cleanup_files or nginx_config_clean…
Browse files Browse the repository at this point in the history
…up_paths.
  • Loading branch information
pecastro committed May 29, 2024
1 parent 1b72aa5 commit b3e216e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/config/cleanup-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
state: absent
loop: "{{ nginx_config_files['results'] | default('') | map(attribute='files') | sum(start=[]) | map(attribute='path') | list + nginx_config_cleanup_files | default('') | list }}"
notify: (Handler - NGINX Config) Run NGINX
when: nginx_config_cleanup_files is defined or nginx_config_cleanup_paths is defined

0 comments on commit b3e216e

Please sign in to comment.