2021-04-05 05:21:54 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install required dependency python3-libsemanage
|
2023-08-31 01:29:05 +00:00
|
|
|
become: true
|
2021-04-05 05:21:54 +00:00
|
|
|
dnf:
|
|
|
|
name: python3-libsemanage
|
2023-08-31 01:29:05 +00:00
|
|
|
state: present
|
2021-04-05 05:21:54 +00:00
|
|
|
when: (ansible_distribution_major_version is version('31', '>='))
|
|
|
|
|
|
|
|
- name: Install required dependency libsemanage-python
|
2023-08-31 01:29:05 +00:00
|
|
|
become: true
|
2021-04-05 05:21:54 +00:00
|
|
|
dnf:
|
|
|
|
name: libsemanage-python
|
2023-08-31 01:29:05 +00:00
|
|
|
state: present
|
2021-04-05 05:21:54 +00:00
|
|
|
when: (ansible_distribution_major_version is version('30', '<='))
|