Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

An Ansible module for maintaining AUR packages with packer.

License

Notifications You must be signed in to change notification settings

eoli3n/ansible-packer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

ansible-packer

An Ansible module for installing AUR packages via the packer AUR helper.

This assumes your target node already has packer and its dependecies installed.

Dependencies (Managed Node)

Installation

  1. Clone this repo
  2. Copy or link the packer file into your global Ansible library (usually /usr/share/ansible) or into the ./library folder alongside your top-level playbook

Usage

Pretty much identical to the pacman module. Note that package status, removal, the corresponding pacman commands are used (-Q, -R, respectively).

More detailed docs are on the way, but in general:

Options

  • name - required, name of the AUR package to install
  • recurse - optional, yes/no, whether to recursively remove packages. See pacman module docs
  • state - optional, present/absent, whether the package needs to be installed or not

Examples

# Install package foo
- packer: name=foo state=present

# Remove packages foo and bar
- packer: name=foo,bar state=absent

# Recursively remove package baz
- packer: name=baz state=absent recurse=yes

Todo

  • Add inline, ansible-doc compatible documentation
  • ???

Have other ideas? Better way of doing something? Open an issue or a pull request.

About

An Ansible module for maintaining AUR packages with packer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%