https://github.com/cimon-io/ansible-role-dependent-software
https://github.com/cimon-io/ansible-role-dependent-software
ansible ansible-role apt
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cimon-io/ansible-role-dependent-software
- Owner: cimon-io
- Created: 2017-11-07T06:10:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-07T11:27:39.000Z (over 7 years ago)
- Last Synced: 2024-12-29T11:45:00.911Z (over 1 year ago)
- Topics: ansible, ansible-role, apt
- Size: 3.91 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible dependent software role
An ansible role that updates the repository cache and installs packages, specified by the `software_packages_list` list.
This role can be run under all versions of Ubuntu.
## Requirements
None
## Role Variables
All necessary packages should be listed in software_packages_list:
```yaml
software_packages_list: [] # A list of packages to install
```
## Dependencies
None
## Example Playbook
A playbook example is given below:
```yaml
- hosts: all
roles:
- role: dependent-software
software_packages_list:
- "{{ base_packages }}"
- postgresql-common
vars:
base_packages:
- build-essential
- wget
- curl
- git
- rsync
- jq
- tmux
```
## License
Licensed under the [MIT License](https://opensource.org/licenses/MIT).