Initial version

This commit is contained in:
Knut Ahlers 2020-07-10 13:52:19 +02:00
commit 716060c236
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 49 additions and 0 deletions

5
defaults/main.yml Normal file
View file

@ -0,0 +1,5 @@
---
pacman_packages: []
...

32
meta/main.yml Normal file
View file

@ -0,0 +1,32 @@
---
galaxy_info:
author: Knut Ahlers
description: |
Manage APT packages through variables
license: Apache
min_ansible_version: 2.3
platforms:
- name: Archlinux
categories:
#- cloud
#- cloud:ec2
#- cloud:gce
#- cloud:rax
#- clustering
#- database
#- database:nosql
#- database:sql
#- development
#- monitoring
#- networking
- packaging
- system
#- web
dependencies: []
# List your role dependencies here, one per line.
# Be sure to remove the '[]' above if you add dependencies
# to this list.

12
tasks/main.yml Normal file
View file

@ -0,0 +1,12 @@
---
- name: Install Pacman packages
pacman:
force: '{{ item.force | default("no") }}'
name: '{{ item.name }}'
recurse: '{{ item.recurse | default("no") }}'
state: '{{ item.state | default("present") }}'
upgrade: '{{ item.upgrade | default(omit) }}'
with_items: '{{ pacman_packages }}'
...