ansible-playbook command prompt like yes/no while connecting to managed node for the first time

18 views
Skip to first unread message

anilkumar panditi

unread,
Feb 20, 2020, 1:16:40 AM2/20/20
to Ansible Project
Hello, All
My ansible-playbook  -i <Invntory> <playbook> -vv command prompt like yes/no while connecting to managed node for the first time. How can i avoid the prompting because i have aggregated all ansible-playbook commands in a shell script and running the shell script from UI.

And playbook command prompt like yes/no while connecting to managed node for the first time, how can i avoid this.

thanks

Srinivas Naram

unread,
Feb 20, 2020, 1:47:14 AM2/20/20
to ansible...@googlegroups.com
In ansible.cfg try setting host_key_checking = false

--
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-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fbbfaef6-5ce0-4a38-91d5-05be5eca092f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages