Module - check_package_update¶
This module provides for the following ansible plugin:
check_package_update
Module Documentation¶
Check for available updates for given packages
Options¶
- packages_list
The names of the packages you want to check
- pkg_mgr
Supported Package Manager, DNF or YUM
Authors¶
Florian Fuchs
Jiri Podivin (@jpodivin)
Example Tasks¶
- hosts: webservers
tasks:
- name: Get available updates for packages
check_package_update:
packages_list:
- coreutils
- wget
pkg_mgr: '{{ ansible_pkg_mgr }}'