diff --git a/roles/environment/tasks/_prepare_installer.yml b/roles/environment/tasks/_prepare_installer.yml index be62742..ea96aef 100644 --- a/roles/environment/tasks/_prepare_installer.yml +++ b/roles/environment/tasks/_prepare_installer.yml @@ -79,6 +79,13 @@ # bootstrapping RHEL-family distros from the Arch ISO, where the # host rpm/dnf does not trust target distro GPG keys. Package # integrity is verified by the target system's own rpm after reboot. +- name: Create RPM macros directory + when: is_rhel | bool + ansible.builtin.file: + path: /etc/rpm + state: directory + mode: "0755" + - name: Relax RPM Sequoia signature policy for RHEL bootstrap when: is_rhel | bool ansible.builtin.copy: