24 lines
405 B
YAML
24 lines
405 B
YAML
---
|
|
|
|
- include: repository.yml
|
|
vars:
|
|
repository_path: "/etc"
|
|
tags:
|
|
- etc-git
|
|
|
|
- name: "Verify /usr/share/scripts presence"
|
|
stat:
|
|
path: /usr/share/scripts
|
|
register: _usr_share_scripts
|
|
tags:
|
|
- etc-git
|
|
|
|
- include: repository.yml
|
|
vars:
|
|
repository_path: "/usr/share/scripts"
|
|
when:
|
|
- _usr_share_scripts.stat.exists
|
|
- _usr_share_scripts.stat.isdir
|
|
tags:
|
|
- etc-git
|