Airgap Support (#253)

* Initial airgap support
* Support any of the compressed image formats
* Add airgap section to README
* Support Airgap SElinux RPM install

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola
2023-11-14 14:36:15 -08:00
committed by GitHub
parent 46a842a551
commit 52941b749b
6 changed files with 162 additions and 10 deletions

View File

@@ -23,6 +23,11 @@
- name: Populate service facts
ansible.builtin.service_facts:
- name: Assign api_port if not defined
when: api_port is undefined
ansible.builtin.set_fact:
api_port: 6443
- name: Allow UFW Exceptions
when:
- ansible_facts.services['ufw'] is defined
@@ -131,17 +136,19 @@
- name: Install Apparmor Parser [Suse]
when:
- apparmor_status.stdout == "Y"
- ansible_os_family == 'Suse'
- apparmor_status is defined
- apparmor_status.stdout == "Y"
ansible.builtin.package:
name: apparmor-parser
state: present
- name: Install Apparmor Parser [Debian]
when:
- apparmor_status.stdout == "Y"
- ansible_distribution == 'Debian'
- ansible_facts['distribution_major_version'] == "11"
- apparmor_status is defined
- apparmor_status.stdout == "Y"
ansible.builtin.package:
name: apparmor
state: present