Looks like this worked. Thanks. - shell: echo "Yes, do as I say!" | apt-get install -y -q --force-yes systemd-sysv
On Tue, Apr 8, 2014 at 10:27 PM, Maciej Delmanowski <[email protected]> wrote: > Maybe this will work? > > - shell: yes "Yes, do as I say!" | apt-get -y -qq --force-yes apt-get > install systemd-sysv > > > 2014-04-08 21:26 GMT+02:00 anatoly techtonik <[email protected]>: >> >> Hi, >> >> apt-get once again too demanding. Trying to move to systemd is >> presented with a warning that you can not escape from command >> line: >> >> $ apt-get install -y -qq --force-yes systemd-sysv >> You are about to do something potentially harmful. >> To continue type in the phrase 'Yes, do as I say!' >> ?] >> >> This becomes a problem with Ansible and it hangs forever. Is there >> a way to get past this message and still do the changes? >> >> -- >> 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/5b4a3461-1b57-4398-b9c3-bbbbf2f971bb%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > 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/aoGgHrNCICs/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAEnKK1zRVzEXy%2B5wkVbZCQoQ4721q-qLBetMeg1QP-FpfWp1Vg%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. -- anatoly t. -- 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/CAPkN8xJfSzgXxzUfey4Lb3M5x6y3AR9sEBbL%2BoVLCTyevNenHQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
