Ajout tâches et variables.
This commit is contained in:
parent
108ae0904d
commit
06a819cc50
10
defaults/main.yml
Normal file
10
defaults/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
icinga2_version: 2.13.7
|
||||
icinga_selinux_common_version: 1.0.0
|
||||
icinga2_rpmfiles:
|
||||
- https://git.garbaye.fr/api/packages/Garbaye/generic/icinga2/{{ icinga2_version }}/icinga2-{{ icinga2_version }}-1.el{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm
|
||||
- https://git.garbaye.fr/api/packages/Garbaye/generic/icinga2/{{ icinga2_version }}/icinga2-bin-{{ icinga2_version }}-1.el{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm
|
||||
- https://git.garbaye.fr/api/packages/Garbaye/generic/icinga2/{{ icinga2_version }}/icinga2-common-{{ icinga2_version }}-1.el{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm
|
||||
- https://git.garbaye.fr/api/packages/Garbaye/generic/icinga2/{{ icinga2_version }}/icinga2-selinux-{{ icinga2_version }}-1.el{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm
|
||||
- https://git.garbaye.fr/api/packages/Garbaye/generic/icinga-selinux-common/{{ icinga_selinux_common_version }}/icinga-selinux-common-{{ icinga_selinux_common_version }}-1.el{{ ansible_distribution_major_version }}.noarch.rpm
|
||||
|
6
tasks/main.yml
Normal file
6
tasks/main.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: Install icinga2
|
||||
yum:
|
||||
name: "{{ icinga2_rpmfiles }}"
|
||||
state: present
|
||||
disable_gpg_check: yes
|
Loading…
Reference in a new issue