etc-git: fix when condition for /usr/share/scripts dir
This commit is contained in:
parent
2dc7d3073f
commit
445c6afe1f
|
@ -29,7 +29,7 @@
|
||||||
vars:
|
vars:
|
||||||
repository_path: "/usr/share/scripts"
|
repository_path: "/usr/share/scripts"
|
||||||
when:
|
when:
|
||||||
- _usr_share_scripts.stat.isdir
|
- _usr_share_scripts.stat.exists and _usr_share_scripts.stat.isdir
|
||||||
|
|
||||||
- name: etc-git-optimize script is installed
|
- name: etc-git-optimize script is installed
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in a new issue