21 lines
527 B
YAML
21 lines
527 B
YAML
---
|
|
- name: Install CentOS 8 python bindings
|
|
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "8"
|
|
become: true
|
|
dnf:
|
|
state: latest
|
|
name:
|
|
- python3-libselinux
|
|
- python3-policycoreutils
|
|
- python3-firewall
|
|
|
|
- name: Install CentoOS 7 python bindings
|
|
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
|
|
become: true
|
|
yum:
|
|
state: latest
|
|
name:
|
|
- libselinux-python
|
|
- policycoreutils-python
|
|
- python-firewall
|