This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
omni-ansible/playbooks/dependencies.yml

27 lines
595 B
YAML

---
- hosts: all
name: Ansible python bindings
tags:
- always
- initialize
tasks:
- name: Install CentOS python bindings
when: ansible_distribution == "CentOS"
become: true
dnf:
state: latest
name:
- python3-libselinux
- python3-policycoreutils
- python3-firewall
- name: Install Fedora python bindings
when: ansible_distribution == "Fedora"
become: true
dnf:
state: latest
name:
- libselinux-python
- policycoreutils-python
- python3-firewall