change to when is dir
This commit is contained in:
parent
ba2ef2f929
commit
2c9331fafc
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
remote_src: true
|
remote_src: true
|
||||||
src: /etc/nagios4/stylesheets
|
src: /etc/nagios4/stylesheets
|
||||||
dest: /etc/nagios4/stylesheets_original
|
dest: /etc/nagios4/stylesheets_original
|
||||||
when: not stylesheets.stat.islnk
|
when: stylesheets.stat.isdir is defined and stylesheets.stat.isdir
|
||||||
|
|
||||||
- name: Remove old stylesheets
|
- name: Remove old stylesheets
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue