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)
path: "/etc/icinga2/conf.d/local"
state: absent
- name: Create directory for custom checks
path: "/etc/icinga2/conf.d/local"
......@@ -13,10 +18,8 @@
- name: Install checks from {{ icinga2.checks.repo }}
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
- 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