Skip to content
I wrote some ansible playbook which could be used to update an archlinux environment on different hosts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates
.gitignore
README.md
hosts
update.yml

README.md

ansible-playbook archlinux update

this playbook can be used to update mulitple archlinux systems based on the pacman helper and the aur module

It will by default install yay on your system by using makepkg toghether with an aurman user which will be used to upgrade the systems.

configuration

you'll have to create a vault file which contains your passwords per host as described in the hosts inventory file.

$ ansible-vault create vault
New Vault password:
Confirm New Vault password:
 [WARNING]:  does not exist, creating...
su_password_localhost: THE-SUDO-PASSWORD

usage

$ ansible-playbook -i hosts --diff update.yml --vault-password-file=.vault_pass

You can’t perform that action at this time.