24 lines
659 B
YAML
24 lines
659 B
YAML
---
|
|
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
|
|
|
|
# http://fusioninventory.org/documentation/agent/installation/linux/rhel.html
|
|
|
|
- name: Import EPEL GPG key
|
|
rpm_key:
|
|
key: "{{ fusioninventory__repo_gpgkey }}"
|
|
state: present
|
|
|
|
- name: Add EPEL Repository
|
|
yum:
|
|
name: "{{ fusioninventory__repo_package }}"
|
|
state: present
|
|
|
|
- name: Enable PowerTools Repository
|
|
ini_file:
|
|
path: "{{ fusioninventory__powertools_repo_file }}"
|
|
section: "{{ item.section }}"
|
|
option: "{{ item.option }}"
|
|
value: "{{ item.value }}"
|
|
loop: "{{ fusioninventory__powertools_repo_params }}"
|
|
when: ansible_facts['distribution_major_version'] | int >= 8
|