packages-extras

Ansible Library: Packages Extras

Build Status

Library modules to extract additional package informations from YUM and APT.

Requirements

The apt_madison module requires python-apt to be installed on target hosts.

Dependencies

None.

Usage Example

- hosts: all
  roles:
    - { role: atosatto.packages-extras }
  tasks:
    - name: Extract the sudo package version
      yum_madison:
        name: "sudo"
        update_cache: yes
      changed_when: False
      register: sudo_version_result

    - debug: msg="{{ sudo_version_result.versions | map(attribute='version') | first }}"

License

MIT

Author Information

Andrea Tosatto (@_hilbert_)

About

Library modules to extract additional package informations from YUM and APT.

Install
ansible-galaxy install atosatto/ansible-packages-extras
GitHub repository
License
mit
Downloads
16697
Owner
Automation fan-boy. Head in the ☁️. Loving Containers, Micro-Services, OpenSource, Golang and Python