package
Ansible Roles: Package
Module to install a list of packages.
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-dev
package_yum:
- python-devel
Example Playbook
- hosts: servers
vars:
package_list:
- curl
- htop
roles:
- { role: engonzal.package, tags: [ 'package'] }
License
BSD
Install
ansible-galaxy install engonzal/ansible_role_package
License
Unknown
Downloads
1331
Owner
I'm a Linux engineer.
Verifications
- https://defcon.social/@engonzal