Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
/ ansible-packages Public archive

Ensures the state of packages from the list given in variable.

Notifications You must be signed in to change notification settings

realloc/ansible-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

realloc.packages

This role ensures the state of packages from the list given in variable.

I was missing platform_packages cookbook from Chef and didn't find a way to insert task execution between two roles without ugly kludges.

Be aware that packages are not always have same name on different platforms and you have to take care about providing a list according to the platform used.

Role Variables

Just a list of packages to be processed.

packages: []

Example Playbook

  roles:
    - role: realloc.packages
    packages:
      - tar
      - name: vim
        state: absent
      - name: emacs
        state: latest

License

GPLv3

Author Information

Stanislav Bogatyrev [email protected]

About

Ensures the state of packages from the list given in variable.

Resources

Stars

Watchers

Forks

Packages

No packages published