ansible / ansible-modules-extras

Ansible extra modules - these modules ship with ansible
948 stars 1.46k forks source link

swdepot.py : filter swlist header #3668

Closed melankh closed 7 years ago

melankh commented 7 years ago
ISSUE TYPE
COMPONENT NAME

packaging/os/swdepot.py

ANSIBLE VERSION
ansible 2.2.0.0
SUMMARY

swlist add a header that could match package name. Real example : "tar" that match "target"

$swlist -a revision -l product tar | grep tar
# Contacting target "yrvm08"...
  tar   1.29

So filtering it via "grep -v #"

$ swlist -a revision -l product tar | grep -v \# |  grep tar
  tar   1.29
gregdek commented 7 years ago

Thanks @melankh. To the current maintainers, @melodous please review according to guidelines (http://docs.ansible.com/ansible/developing_modules.html#module-checklist) and comment with text 'shipit', 'needs_revision' or 'close_me' as appropriate.

[This message brought to you by your friendly Ansibull-bot.]

ansibot commented 7 years ago

This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible

Please read through the repomerge page in the dev guide.