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

Latest commit

 

History

History
46 lines (33 loc) · 860 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 860 Bytes

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]