mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-03 00: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 }}"
|
dest: "{{ apache_conf_path }}/sites-enabled/{{ apache_vhosts_filename }}"
|
||||||
state: link
|
state: link
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
force: "{{ ansible_check_mode }}"
|
||||||
notify: restart apache
|
notify: restart apache
|
||||||
when: apache_create_vhosts | bool
|
when: apache_create_vhosts | bool
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue