feffi / ansible-arch-pacman

Ansible role to manage pacman configuration and packages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-pacman

Ansible role to configure/add a pacman.

Build Status Github All Releases GitHub forks GitHub stars GitHub watchers Twitter Follow License

Requirements

  • Ansible 2.7.1
  • pacman ;-)

ansible.cfg

hash_behaviour = merge

Install

Just add the role to your requirements.yml file:

- src: https://github.com/feffi/ansible-pacman.git
  name: ansible-pacman

Role Defaults Variables

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 }

About

Ansible role to manage pacman configuration and packages.

License:MIT License