fix(environment): create /etc/rpm directory before writing macros file
This commit is contained in:
@@ -79,6 +79,13 @@
|
|||||||
# bootstrapping RHEL-family distros from the Arch ISO, where the
|
# bootstrapping RHEL-family distros from the Arch ISO, where the
|
||||||
# host rpm/dnf does not trust target distro GPG keys. Package
|
# host rpm/dnf does not trust target distro GPG keys. Package
|
||||||
# integrity is verified by the target system's own rpm after reboot.
|
# 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
|
- name: Relax RPM Sequoia signature policy for RHEL bootstrap
|
||||||
when: is_rhel | bool
|
when: is_rhel | bool
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|||||||
Reference in New Issue
Block a user