Sync and update pacman first

Before executing any steps pacman needs to be initiated. Especially
important on new systems that haven't had a pacman command run yet.
This commit is contained in:
ducoterra
2022-01-31 12:43:43 -05:00
parent 079f2b6079
commit 1b4b7df692

View File

@@ -8,6 +8,13 @@
swap_file_size_mb: 4096
tasks:
# Sync and update Pacman
- name: Sync and update Pacman
community.general.pacman:
update_cache: yes
upgrade: yes
become: yes
# SSH
- name: Ensure openssh installed
community.general.pacman: