Skip to content

Commit

Permalink
updated user-input matching
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed May 4, 2024
1 parent 3efa639 commit 2d13301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/debian/rm_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
state: absent
when: >
force_removal or
removal_prompt.user_input == 'yes'
removal_prompt.user_input | bool
loop:
- "/etc/apache2/sites-enabled/site_{{ name }}.conf"
- "/etc/apache2/sites-available/site_{{ name }}.conf"
Expand All @@ -30,4 +30,4 @@
when: >
site.mode == 'serve' and
(force_removal or
removal_prompt.user_input == 'yes')
removal_prompt.user_input | bool)

0 comments on commit 2d13301

Please sign in to comment.