Skip to content

Commit

Permalink
[apache] Enable the force keyword for site configuration
Browse files Browse the repository at this point in the history
(cherry picked from commit a2e9514)
(cherry picked from commit f6926c4)
  • Loading branch information
julien-lecomte authored and drybjed committed Aug 31, 2021
1 parent da09c8c commit 2bffb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/apache/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
else item.name[0] | d("default")) + ".conf")
if (item.enabled|d(True) | bool)
else omit }}'
force: '{{ ansible_check_mode|d() | bool }}'
force: '{{ item.force|d(ansible_check_mode) | bool }}'
state: '{{ item.enabled|d(True) | bool | ternary("link", "absent")
if (item.state|d("present") != "absent")
else "absent" }}'
Expand Down

0 comments on commit 2bffb79

Please sign in to comment.