summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/openshift_checks/package_update.py
blob: fd0c0a75514b30e890f252ba8da7a21db3a7705d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# pylint: disable=missing-docstring
from openshift_checks import OpenShiftCheck
from openshift_checks.mixins import NotContainerizedMixin


class PackageUpdate(NotContainerizedMixin, OpenShiftCheck):
    """Check that there are no conflicts in RPM packages."""

    name = "package_update"
    tags = ["preflight"]

    def run(self, tmp, task_vars):
        args = {"packages": []}
        return self.execute_module("check_yum_update", args, tmp, task_vars)