Frozen process when you run "dpkg-reconfigure"

56 views
Skip to first unread message

Ivan Nunes

unread,
Dec 8, 2015, 9:09:40 PM12/8/15
to Ansible Project
The process stand by and simply does not end the execution of the playbook. It will be a failure ansible or failure is a parameter of dpkg command?


UID        PID  PPID  C STIME TTY          TIME CMD
ansible   6249  6168  0 20:21 pts/0    00:00:00 /bin/sh -c sudo -k && sudo -H -S -p "[sudo via ansible, key=vnhnzawsbvdrzqimpcitzsvabtztcykx] password: " -u root /bin/sh -c 'echo BECOME-SUCCESS-vnhnzawsbvdrzqimpcitzsvabtztcykx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/ansible/.ansible/tmp/ansible-tmp-1449616922.22-76948483202913/command; rm -rf /home/ansible/.ansible/tmp/ansible-tmp-1449616922.22-76948483202913/ >/dev/null 2>&1'
root      6251  6249  0 20:21 pts/0    00:00:00 sudo -H -S -p [sudo via ansible, key=vnhnzawsbvdrzqimpcitzsvabtztcykx] password:  -u root /bin/sh -c echo BECOME-SUCCESS-vnhnzawsbvdrzqimpcitzsvabtztcykx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/ansible/.ansible/tmp/ansible-tmp-1449616922.22-76948483202913/command; rm -rf /home/ansible/.ansible/tmp/ansible-tmp-1449616922.22-76948483202913/ >/dev/null 2>&1
root      6252  6251  0 20:21 pts/0    00:00:00 /bin/sh -c echo BECOME-SUCCESS-vnhnzawsbvdrzqimpcitzsvabtztcykx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/ansible/.ansible/tmp/ansible-tmp-1449616922.22-76948483202913/command; rm -rf /home/ansible/.ansible/tmp/ansible-tmp-1449616922.22-76948483202913/ >/dev/null 2>&1
root      6253  6252  0 20:21 pts/0    00:00:02 /usr/bin/python /home/ansible/.ansible/tmp/ansible-tmp-1449616922.22-76948483202913/command
root      6254  6253  0 20:21 pts/0    00:00:00 /bin/sh -c dpkg-reconfigure -f noninteractive console-setup -u
root      6255  6254  0 20:21 pts/0    00:00:02 /usr/bin/perl -w /usr/sbin/dpkg-reconfigure -f noninteractive console-setup -u
root      6307  6255  0 20:21 pts/0    00:00:00 /bin/sh /var/lib/dpkg/info/console-setup.postinst configure 1.70ubuntu5
root      6327  6307  0 20:21 pts/0    00:00:00 /bin/sh /bin/setupcon --force --save

Brian Coca

unread,
Jan 25, 2016, 11:28:00 PM1/25/16
to Ansible Project
even when noninteractive is passed, it can prompt for answers, try
running manually and see what the question is, debconf can be used to
set the answer ahead of time and avoid prompting.



--
Brian Coca

Ivanelson Nunes

unread,
Jan 26, 2016, 7:42:48 AM1/26/16
to ansible...@googlegroups.com
Thanks, I also arrived at the same conclusion.

@ivanelson
[]s


--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/2c5j1ppuX-g/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJ5XC8k4hs7fui-iFw%2BgxTw6xDOLcf2M4LCQUR__akJou_KfFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages