atosatto.packages-extras
Ansible库:额外包
库模块用于从YUM和APT提取额外的包信息。
要求
apt_madison
模块需要在目标主机上安装python-apt
。
依赖
无。
使用示例
- hosts: all
roles:
- { role: atosatto.packages-extras }
tasks:
- name: 提取sudo包的版本
yum_madison:
name: "sudo"
update_cache: yes
changed_when: False
register: sudo_version_result
- debug: msg="{{ sudo_version_result.versions | map(attribute='version') | first }}"
许可证
MIT
作者信息
Andrea Tosatto (@_hilbert_)
关于项目
Library modules to extract additional package informations from YUM and APT.
安装
ansible-galaxy install atosatto.packages-extras
许可证
mit
下载
18.4k
拥有者
Automation fan-boy. Head in the ☁️. Loving Containers, Micro-Services, OpenSource, Golang and Python