diff options
| -rw-r--r-- | roles/bootstrap/tasks/install-archlinux.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml index 6812926..ffd2f37 100644 --- a/roles/bootstrap/tasks/install-archlinux.yml +++ b/roles/bootstrap/tasks/install-archlinux.yml @@ -1,4 +1,13 @@ --- +- name: "Update live environment" + ansible.builtin.command: + cmd: "{{ item }}" + loop: + - "pacman -Syu --noconfirm" + - "pacman -Sy --needed archlinux-keyring --noconfirm" + changed_when: true + failed_when: false + - name: "Run pacstrap" ansible.builtin.command: cmd: "pacstrap -K {{ mnt_root_path }} base linux linux-firmware" |
