Last active
February 2, 2018 10:46
-
-
Save Tahvok/5659ab3cdd589c0b80de257e462d08b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Check if agent scripts are cloned | |
stat: | |
path: "{{ zabbix_agnt_dir }}/.git" | |
register: agnt_git_dir | |
tags: | |
- zabbix_scripts | |
- name: Remove agent scripts if they are cloned from git | |
file: | |
path: "{{ zabbix_agnt_dir }}" | |
state: absent | |
when: agnt_git_dir.stat.exists | |
tags: | |
- zabbix_scripts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment