Module - check_package_update

This module provides for the following ansible plugin:

  • check_package_update

Module Documentation

Check for available updates for a given package

Options

package

The name of the package you want to check

pkg_mgr

Supported Package Manager, DNF or YUM

Authors

Florian Fuchs

Example Tasks

- hosts: webservers
  tasks:
  - check_package_update:
      package: python-tripleoclient
      pkg_mgr: '{{ ansible_pkg_mgr}}'
    name: Get available updates for packages