Ansible role to configure/add a pacman.
- Ansible 2.7.1
- pacman ;-)
hash_behaviour = merge
Just add the role to your requirements.yml
file:
- src: https://github.com/feffi/ansible-pacman.git
name: ansible-pacman
ansible_pacman: {
# The mirror country to use
mirror: "DE",
# Packages to install
install: [],
# Packages to remove
remove: []
}
Example:
- hosts: all
vars:
ansible_pacman:
# The mirror country to use
mirror: "DE"
# Packages to install
install: []
# Packages to remove
remove: []
roles:
- { role: ansible-pacman }