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

**URL:** <https://forum.ansible.com/t/ansible-playbook-command-prompt-like-yes-no-while-connecting-to-managed-node-for-the-first-time/32281>\
**Category:** Ansible Project\
**Created:** [February 20, 2020, 6:16am UTC](https://forum.ansible.com/t/ansible-playbook-command-prompt-like-yes-no-while-connecting-to-managed-node-for-the-first-time/32281 "2020-02-20T06:16:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anilkumar\_panditi](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@anilkumar\_panditi](https://forum.ansible.com/u/anilkumar_panditi)\
**Post date:** [February 20, 2020, 6:16am UTC](https://forum.ansible.com/t/ansible-playbook-command-prompt-like-yes-no-while-connecting-to-managed-node-for-the-first-time/32281/1 "2020-02-20T06:16:40Z")

</div>

Hello, All  
My ansible-playbook -i -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

---

<div class="post-metadata">

**Author:** ![Srinivas\_Naram](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@Srinivas\_Naram](https://forum.ansible.com/u/Srinivas_Naram)\
**Post date:** [February 20, 2020, 6:46am UTC](https://forum.ansible.com/t/ansible-playbook-command-prompt-like-yes-no-while-connecting-to-managed-node-for-the-first-time/32281/2 "2020-02-20T06:46:44Z")

</div>

In ansible.cfg try setting host\_key\_checking = false
