--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/446ee6a4-519d-4711-87e1-be3ea35a09e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, 17 Jul 2019 at 07:36, Rahul Kumar <rajput...@gmail.com> wrote:
I am using Ansible command module to downgrade the package (assuming higher version is already installed andrepo has both lower and higher version). I dont want to use Anisble yum module due to some constraints.I am not able to invoke yum downgrade <rpmname> from command module.What does this mean?Did you get an error message?Or did the task run OK but the package wasn’t downgraded?Without knowing what you did it’s impossible to help. So please show the task.You should be able to invoke any command using the command module.Dick
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/446ee6a4-519d-4711-87e1-be3ea35a09e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAH4rTPtKNJbhcODCfn_EezwNFqSviH2_NN%3DO1xTpjuseW%2B%2BZBw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGH8rEywUuKmUJydXqg5T2yr%3DVEH2RHcBt%3D9P_zRn8cvwKMzbg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEaZiRUiZrjHdgF8C0b%2B0r7KqR4jFALh8%2BCuQ0GibvpO2wswwQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGH8rExNqRDKTJnKGN8Gvv%3DsLbTO5Dx6MVDg5o4FVbFNkt7OkQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwP2aDw-kUdHuGMmQfozUv%3DVWOGP_NOXYMzeRNn%3D2tF8ew%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGH8rExm0Baatynzr%3DvaKfG4ErWt-MdQyqwRxXKNFL1pi%2B10rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwMQ4F6QoFm%2BWRBTYoQkYXvxf6rhvbA06Obq0myGTT-JBg%40mail.gmail.com.
Can you clarify what constraint the “yum” module has as I would be surprised if it can’t accommodate all common yum related tasks? Can’t you just specify package name with version (name) and enable downgrade (allow_downgrade)?
https://docs.ansible.com/ansible/latest/modules/yum_module.html#yum-module
Regards
Phil
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGH8rExRmXActPGcnxVM0REhC4%2B33M-WagD4L0FF0ZWMspDVJQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/883ac4d407a2407ebd6efb08ccc222b1%40bham.ac.uk.
See what you mean now. Seems that others have raised a similar issue, previously, but not sure there has ever been a resolution? Possibly worth searching for something useful in Galaxy perhaps (see eg below, if not used before)?
# ansible-galaxy search plugins
# ansible-galaxy info <Author Name>
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGH8rEzBGPooAezosFvdUatk_j46ykB0oTfewjmLSXKnbxdRVg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c710a66312c44ebfab05460581ac6f81%40bham.ac.uk.