2
0
Fork 0
This repository has been archived on 2023-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
ansible.fusioninventory/tasks/RedHat.yml

24 lines
659 B
YAML
Raw Normal View History

---
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
# http://fusioninventory.org/documentation/agent/installation/linux/rhel.html
2021-03-15 11:41:37 +01:00
- name: Import EPEL GPG key
rpm_key:
key: "{{ fusioninventory__repo_gpgkey }}"
state: present
- name: Add EPEL Repository
2021-03-15 11:41:37 +01:00
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