diff options
Diffstat (limited to 'roles')
-rwxr-xr-x | roles/openshift_preflight/base/library/aos_version.py | 1 | ||||
-rwxr-xr-x | roles/openshift_preflight/base/library/check_yum_update.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_preflight/base/library/aos_version.py b/roles/openshift_preflight/base/library/aos_version.py index fe06d010c..f0d18a242 100755 --- a/roles/openshift_preflight/base/library/aos_version.py +++ b/roles/openshift_preflight/base/library/aos_version.py @@ -11,6 +11,7 @@ precision requested. ''' import yum # pylint: disable=import-error + from ansible.module_utils.basic import AnsibleModule diff --git a/roles/openshift_preflight/base/library/check_yum_update.py b/roles/openshift_preflight/base/library/check_yum_update.py index c72bce937..9bc14fd47 100755 --- a/roles/openshift_preflight/base/library/check_yum_update.py +++ b/roles/openshift_preflight/base/library/check_yum_update.py @@ -9,7 +9,9 @@ parameters: ''' import sys + import yum # pylint: disable=import-error + from ansible.module_utils.basic import AnsibleModule |