First commit

This commit is contained in:
Adrien Reslinger 2024-07-13 12:14:03 +02:00
commit b840da79b8
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
7 changed files with 75 additions and 0 deletions

17
tasks/RedHat.yml Normal file
View file

@ -0,0 +1,17 @@
---
- name: Enable AppStream RHSM repository
community.general.rhsm_repository:
name: "rhel-{{ ansible_distribution_major_version }}-for-{{ ansible_architecture }}-appstream-rpms"
when:
- ansible_distribution == "RedHat"
- ansible_distribution_major_version >= '8'
#- name: Install Podman
# ansible.builtin.package:
# name:
# - podman
# - podman-docker
# state: present
# update_cache: yes
## when:
## - (ansible_distribution == "OracleLinux") or (ansible_distribution == "CentOS")