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<https://groups.google.com/d/msgid/ansible-project/5b4a3461-1b57-4398-b9c3-bbbbf2f971bb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAEnKK1zRVzEXy%2B5wkVbZCQoQ4721q-qLBetMeg1QP-FpfWp1Vg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
