Hi all,

I am using package module to install packages in the system. But I need to 
handle a specific case for example some ubuntu kernel requires some 
specific command to be run for installing the package.

https://docs.ansible.com/ansible/2.5/modules/package_module.html

I want to store the package module output to a variable and check whether 
specific strings appear in stdout and handle that specific case. Can anyone 
help how can I achieve this ?
Any code snippet will help.

Regards
Pradeep


-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b63d71f5-6d42-435e-892b-b95e0a0d08dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to