Don't update_cache if airgapped (#430)

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola
2025-08-12 11:13:54 -07:00
committed by GitHub
parent e9dbf66cef
commit c239874136
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
when: ansible_distribution in ['Ubuntu']
ansible.builtin.apt:
name: policycoreutils # Used by install script to restore SELinux context
update_cache: true
update_cache: "{{ airgap_dir is not defined }}"
- name: Enable IPv4 forwarding
ansible.posix.sysctl: