ansible-base/roles/icinga2_server/tasks/repository.yml

15 lines
348 B
YAML
Raw Permalink Normal View History

2020-10-02 22:35:00 +02:00
---
- name: Icinga apt key installed
apt_key:
url: '{{ icinga2_server_apt_key }}'
state: present
when: ansible_os_family == 'Debian'
- name: Icinga APT repository configured
apt_repository:
repo: '{{ icinga2_server_apt_repository }}'
state: present
when: ansible_os_family == 'Debian'
notify: package repository updated