Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/engonzal/ansible_role_package
Ansible role to install packages.
https://github.com/engonzal/ansible_role_package
ansible ansible-galaxy ansible-role apt yum
Last synced: about 2 months ago
JSON representation
Ansible role to install packages.
- Host: GitHub
- URL: https://github.com/engonzal/ansible_role_package
- Owner: engonzal
- Created: 2018-05-25T02:16:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-12T04:19:39.000Z (about 6 years ago)
- Last Synced: 2024-11-06T20:40:43.277Z (3 months ago)
- Topics: ansible, ansible-galaxy, ansible-role, apt, yum
- Language: Python
- Size: 13.7 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Ansible Roles: Package
Module to install a list of packages.[![Build Status](https://travis-ci.org/engonzal/ansible_role_package.svg?branch=master)](https://travis-ci.org/engonzal/ansible_role_package)
#### Role Variables
For general packages when not using mixed Operating Systems you can use the following:
```
package_list:
- git
- curl
```If you have mixed operating systems you may need to use the following:
```
package_apt:
- python-devpackage_yum:
- python-devel
```#### Example Playbook
```
- hosts: servers
vars:
package_list:
- curl
- htop
roles:
- { role: engonzal.package, tags: [ 'package'] }
```#### License
BSD