17 lines
523 B
YAML
17 lines
523 B
YAML
---
|
|
- 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")
|