Skip to content

engonzal/ansible_role_package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Roles: Package

Module to install a list of packages.

Build Status

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