Drop custom_iso_enabled and log defaults
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
- name: Abort if the host is not booted from the Arch install media
|
- name: Abort if the host is not booted from the Arch install media
|
||||||
when:
|
when:
|
||||||
- not custom_iso_enabled
|
- not (custom_iso | bool)
|
||||||
- not environment_archiso_stat.stat.exists
|
- not environment_archiso_stat.stat.exists
|
||||||
ansible.builtin.fail:
|
ansible.builtin.fail:
|
||||||
msg: This host is not booted from the Arch install media!
|
msg: This host is not booted from the Arch install media!
|
||||||
@@ -88,14 +88,14 @@
|
|||||||
- name: Prepare installer environment
|
- name: Prepare installer environment
|
||||||
block:
|
block:
|
||||||
- name: Speed-up Bootstrap process
|
- name: Speed-up Bootstrap process
|
||||||
when: not custom_iso_enabled
|
when: not (custom_iso | bool)
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/pacman.conf
|
path: /etc/pacman.conf
|
||||||
regexp: ^#ParallelDownloads =
|
regexp: ^#ParallelDownloads =
|
||||||
line: ParallelDownloads = 20
|
line: ParallelDownloads = 20
|
||||||
|
|
||||||
- name: Wait for pacman lock to be released
|
- name: Wait for pacman lock to be released
|
||||||
when: not custom_iso_enabled
|
when: not (custom_iso | bool)
|
||||||
ansible.builtin.wait_for:
|
ansible.builtin.wait_for:
|
||||||
path: /var/lib/pacman/db.lck
|
path: /var/lib/pacman/db.lck
|
||||||
state: absent
|
state: absent
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
- name: Setup Pacman
|
- name: Setup Pacman
|
||||||
when:
|
when:
|
||||||
- not custom_iso_enabled
|
- not (custom_iso | bool)
|
||||||
- "'os' not in item or os in item.os"
|
- "'os' not in item or os in item.os"
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ vmware_ssh: false
|
|||||||
firewalld_enabled: true
|
firewalld_enabled: true
|
||||||
|
|
||||||
cis_enabled: "{{ cis | bool }}"
|
cis_enabled: "{{ cis | bool }}"
|
||||||
custom_iso_enabled: "{{ custom_iso | bool }}"
|
|
||||||
|
|
||||||
luks_enabled: false
|
luks_enabled: false
|
||||||
luks_mapper_name: "SYSTEM_DECRYPTED"
|
luks_mapper_name: "SYSTEM_DECRYPTED"
|
||||||
|
|||||||
@@ -1 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
- name: Global defaults loaded
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: Global defaults loaded.
|
||||||
|
changed_when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user