Adjustments for SGBoot iso
This commit is contained in:
@@ -71,32 +71,6 @@
|
|||||||
ansible_become_password: ""
|
ansible_become_password: ""
|
||||||
ansible_ssh_extra_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
ansible_ssh_extra_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||||
|
|
||||||
- name: Speed-up Bootstrap process
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: /etc/pacman.conf
|
|
||||||
regexp: ^#ParallelDownloads =
|
|
||||||
line: ParallelDownloads = 20
|
|
||||||
|
|
||||||
- name: Wait for Pacman
|
|
||||||
ansible.builtin.wait_for:
|
|
||||||
timeout: 15
|
|
||||||
|
|
||||||
- name: Setup Pacman
|
|
||||||
community.general.pacman:
|
|
||||||
update_cache: true
|
|
||||||
force: true
|
|
||||||
name: "{{ item.name }}"
|
|
||||||
state: latest
|
|
||||||
loop:
|
|
||||||
- { name: glibc }
|
|
||||||
- { name: dnf, os: [almalinux, fedora, rhel8, rhel9, rhel10, rocky] }
|
|
||||||
- { name: debootstrap, os: [debian11, debian12, ubuntu, ubuntu-lts] }
|
|
||||||
- { name: debian-archive-keyring, os: [debian11, debian12] }
|
|
||||||
- { name: ubuntu-keyring, os: [ubuntu, ubuntu-lts] }
|
|
||||||
when: "'os' not in item or os in item.os"
|
|
||||||
retries: 4
|
|
||||||
delay: 15
|
|
||||||
|
|
||||||
- name: Prepare /iso mount and repository for RHEL-based systems
|
- name: Prepare /iso mount and repository for RHEL-based systems
|
||||||
when: os | lower in ["rhel8", "rhel9", "rhel10"]
|
when: os | lower in ["rhel8", "rhel9", "rhel10"]
|
||||||
block:
|
block:
|
||||||
|
|||||||
Reference in New Issue
Block a user