diff --git a/awx/plugins/library/scan_packages.py b/awx/plugins/library/scan_packages.py index e275144cd1..3f9af5472c 100755 --- a/awx/plugins/library/scan_packages.py +++ b/awx/plugins/library/scan_packages.py @@ -71,8 +71,6 @@ def deb_package_list(): def main(): module = AnsibleModule( argument_spec = dict()) - import os - os.system('echo "%s" > /tmp/foo' % get_distribution()) ans_dist = get_distribution().strip() if ans_dist in ('Centos', 'Centos linux', 'Red hat enterprise linux server', 'Amazon', 'Suse linux enterprise server', 'Opensuse'): os.system('echo "in rpm_package_list for %s" >> /tmp/foo' % ans_dist)