mirror of
https://github.com/ansibleguy/infra_apache.git
synced 2026-10-10 00:35:33 +02:00
updated user-input matching
This commit is contained in:
@@ -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"
|
||||
@@ -30,4 +30,4 @@
|
||||
when: >
|
||||
site.mode == 'serve' and
|
||||
(force_removal or
|
||||
removal_prompt.user_input == 'yes')
|
||||
removal_prompt.user_input | bool)
|
||||
|
||||
Reference in New Issue
Block a user