Giter VIP home page Giter VIP logo

ansible-aur's Introduction

ansible-aur

An Ansible module for installing AUR packages.

If cower is available, it will be used to download packages. Otherwise, cURL will be used. Packages are installed via makepkg.

Dependencies (Managed Node)

Installation

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

Usage

Options

  • name - required, name of the AUR package to install
  • user - required, name of the user you want to install the package as
  • dir - optional, name of the directory you want to download AUR packages into. If this is left blank, the module will try to use ~/aur for the specified user.
  • skip_pgp - optional, whether makepkg should skip verification of PGP signatures of source files. Defaults to false. This may be useful when installing packages on a target node with no keyring established.

Examples

# Install package foo
- aur: name=foo user=someone

# Install package foo with a specific download directory
- aur: name=foo dir=/opt/packages/aur user=someone

# Install package foo without checking PGP signature
- aur: name=foo user=someone skip_pgp=yes

If you wouldn't like to install AUR packages by normal user, you can create a system user aurman (or another one which you like) as AUR manager:

- name: New user for AUR management
  user:
    name: aurman
    comment: "AUR manager"
    shell: /bin/nologin
    home: /var/lib/aurman
    system: yes

ansible-aur's People

Contributors

austinhyde avatar dummys avatar jshuping avatar pigmonkey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.