I am working on patching multiple ubuntu systems and have run into an issue 
and I am unable to find a solution.   I'm pretty new to ansible so not sure 
if it's possible to respond to prompts by OS.

Here is what I run now:

ansible <host_group> -m shell -s -a "apt-get upgrade -y" -u <user> -k -K

This works for apt-get update
                     apt-get install --only-upgrade

This issue on the upgrade on these systems:

1.  There are 5 points during the upgrade that require response with enter 
on a y/n answer and a No<enter> prompt for PAM.

Is there a way do do this via command line.

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9e2779e8-1466-4e43-9173-fad5a5efecfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to