Commit bb5e5814 authored by Bernhard Geier's avatar Bernhard Geier
Browse files

Repariere checks-Installation

parent 2c46e933
......@@ -3,6 +3,11 @@
name: [ 'git' ]
install_recommends: false
- name: Delete custom checks (otherwise pulling with deploy token will fail)
file:
path: "/etc/icinga2/conf.d/local"
state: absent
- name: Create directory for custom checks
file:
path: "/etc/icinga2/conf.d/local"
......@@ -13,10 +18,8 @@
- name: Install checks from {{ icinga2.checks.repo }}
git:
repo: "{{ icinga2.checks.repo }}"
dest: "/etc/icinga2/conf.d/local"
dest: "/etc/icinga2/conf.d/local/"
version: "{{ icinga2.checks.branch }}"
clone: yes
update: yes
notify: reload icinga2
tags:
- skip_ansible_lint
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment