atosatto.packages-extras

Ansible Library: Packages Extras

Build Status

This library provides modules to get extra package details from YUM and APT.

Requirements

The apt_madison module needs python-apt to be installed on the target machines.

Dependencies

There are no additional dependencies.

Usage Example

- hosts: all
  roles:
    - { role: atosatto.packages-extras }
  tasks:
    - name: Get the version of the sudo package
      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_)

Informazioni sul progetto

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

Installa
ansible-galaxy install atosatto.packages-extras
Licenza
mit
Download
18.4k
Proprietario
Automation fan-boy. Head in the ☁️. Loving Containers, Micro-Services, OpenSource, Golang and Python