mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-21 10:30:18 +01:00
fix Debian check mode
file module needs force attribute if symlink destination doesn't exist which is the case in check mode.
This commit is contained in:
parent
1899aa047e
commit
2ff0b51c05
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
|||
dest: "{{ apache_conf_path }}/sites-enabled/{{ apache_vhosts_filename }}"
|
||||
state: link
|
||||
mode: 0644
|
||||
force: "{{ ansible_check_mode }}"
|
||||
notify: restart apache
|
||||
when: apache_create_vhosts | bool
|
||||
|
||||
|
|
Loading…
Reference in a new issue