Compare commits
3 Commits
566f31992b
...
master
Author | SHA1 | Date | |
---|---|---|---|
684e86e61a
|
|||
83fb00ccaa
|
|||
2fbb5b9d46
|
@@ -3,9 +3,12 @@
|
||||
|
||||
| Vendor | Version | Issue |
|
||||
| ------ | ------- | ----- |
|
||||
| Alma | 8-9 | Ensure SELinux Python bindings are present |
|
||||
| CentOS | 6 | Ensure ACPI Daemon is both running and present so that OS will respond to physical or virtual ACPI events |
|
||||
| CentOS | 6 | Ensure Python OpenSSL support is updated to handle newer TLS features |
|
||||
| CentOS | 6-8 | Ensure SELinux Python bindings are present |
|
||||
| CentOS | 6-9 | Ensure SELinux Python bindings are present |
|
||||
| Debian | All | Ensure apt does not reference non-present CDROM media |
|
||||
| Debian | All | Ensure sudo is present |
|
||||
| Fedora | 30-33 | Ensure SELinux Python bindings are present |
|
||||
| Fedora | 30-42 | Ensure SELinux Python bindings are present |
|
||||
| Oracle | 8-9 | Ensure SELinux Python bindings are present |
|
||||
| Rocky | 8-9 | Ensure SELinux Python bindings are present |
|
||||
|
@@ -11,7 +11,7 @@
|
||||
- ensure_ansible_prereq is defined
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: 'yes'
|
||||
- name: 'ensure_ansible_prereq.services'
|
||||
- name: 'ensure_ansible_prereq.service_restart'
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
- ensure_ansible_prereq is defined
|
||||
@@ -25,3 +25,5 @@
|
||||
loop: '{{ ensure_ansible_prereq.service_list }}'
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be restarted'
|
||||
...
|
||||
|
||||
|
@@ -13,14 +13,15 @@
|
||||
- name: 'ensure packages'
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
- ensure_ansible_prereq is defined
|
||||
ansible.builtin.package:
|
||||
name: '{{ item.name }}'
|
||||
state: '{{ item.state }}'
|
||||
use: 'dnf'
|
||||
loop:
|
||||
- 'python3-rpm'
|
||||
- 'python3-libdnf5'
|
||||
- name: 'python3-rpm'
|
||||
state: 'present'
|
||||
- name: 'python3-libdnf5'
|
||||
state: 'present'
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be {{ item.state }}'
|
||||
notify:
|
||||
|
@@ -83,6 +83,8 @@
|
||||
notify:
|
||||
- 'ensure_ansible_prereq.package_facts'
|
||||
- 'ensure_ansible_prereq.service_facts'
|
||||
- 'ensure_ansible_prereq.service_reload'
|
||||
- 'ensure_ansible_prereq.service_restart'
|
||||
- name: 'ensure services'
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
@@ -101,3 +103,5 @@
|
||||
- 'ensure_ansible_prereq.service_facts'
|
||||
- name: 'flush handlers'
|
||||
meta: 'flush_handlers'
|
||||
...
|
||||
|
||||
|
7
vars/Fedora-42-default.yml
Normal file
7
vars/Fedora-42-default.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
# vars file for ensure_ansible_prereq
|
||||
package_list:
|
||||
- name: 'python3-libselinux'
|
||||
state: 'present'
|
||||
- name: 'python3-libsemanage'
|
||||
state: 'present'
|
Reference in New Issue
Block a user