Hi, I am trying to setup communication between ansible and a windows server which is hosted in virtual machine manager. Do any one know about it.
I am getting error like Bad HTTP response from server . Code 404 Thanks in advance On Tue, Dec 4, 2018 at 4:21 PM Piotr Owcarz <[email protected]> wrote: > Hi > > /usr/bin/which: no rndc in >> (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin) <-- not a surprise; >> BIND isn't installed on this machine >> > > So, do you already know what the problem is? Are you executing rndc on > remote host but you dont have BIND installed on it? > > wt., 4 gru 2018 o 21:48 Dimitri Yioulos <[email protected]> napisaĆ(a): > >> Piotr, >> >> Fair enough. And, I do appreciate you sticking with this. >> >> Output of "echo $PATH": >> >> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin >> >> Output of "which rndc": >> >> /usr/bin/which: no rndc in >> (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin) <-- not a surprise; >> BIND isn't installed on this machine >> >> Output after adding - shell: "'echo $PATH'", etc. to playbook: >> >> ok: [admin1] => { >> "path": { >> "changed": true, >> "cmd": "echo $PATH", >> "delta": "0:00:00.006128", >> "end": "2018-12-04 14:36:50.766764", >> "rc": 0, >> "start": "2018-12-04 14:36:50.760636", >> "stderr": "", >> "stderr_lines": [], >> "stdout": "/usr/bin:/bin", >> "stdout_lines": [ >> "/usr/bin:/bin" >> ] >> } >> } >> >> Remote machine OS os CentOS 5.11 <-- yes, I know >> >> >> On Monday, December 3, 2018 at 11:44:08 AM UTC-5, Dimitri Yioulos wrote: >>> >>> Hey, all. >>> >>> I need to run a script residing on the remote machine with a switch, as >>> in "/scripts/myscript -f" (it must be executed by root). I'm using the >>> shell module, but can find no way to add the switch without the play >>> failing. Help would be appreciated. >>> >>> Dimitri >>> >> -- >> 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/d3545631-8f41-4eb2-af66-0a024ab76982%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/d3545631-8f41-4eb2-af66-0a024ab76982%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/CACHJvyPhExxTL0HFkGJO652TxXwZgFcOdNZGyP7PQcCa_5Ktaw%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CACHJvyPhExxTL0HFkGJO652TxXwZgFcOdNZGyP7PQcCa_5Ktaw%40mail.gmail.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/CAEi537rUkY6bfcsP2Rf%3DPZs-Y3i%2BWJoOWMsFQfHiNKhrczZgnw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
