# feature request: host\_key\_checking offered as 'ansible\_host\_key\_checking' option

**URL:** <https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935>\
**Category:** Ansible Developer\
**Created:** [April 4, 2014, 1:42am UTC](https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935 "2014-04-04T01:42:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gallagher\_Polyn](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@Gallagher\_Polyn](https://forum.ansible.com/u/Gallagher_Polyn)\
**Post date:** [April 4, 2014, 1:42am UTC](https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935/1 "2014-04-04T01:42:55Z")

</div>

Enabling host\_key\_checking as ‘ansible\_host\_key\_checking’, like several other remote user config options (e.g., ansible\_ssh\_user) could simplify development workflows when MITM attacks are not of concern. For example, a configuration may be under local development until the same provisioning is attempted on a VPS.

G

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [April 4, 2014, 3:22pm UTC](https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935/2 "2014-04-04T15:22:08Z")

</div>

Sorry, I don’t understand this one.

(A) host\_key\_checking can be configured on or off on ansible.cfg

(B) it’s enabled by default

What is the proposed change?

---

<div class="post-metadata">

**Author:** ![Gallagher\_Polyn](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@Gallagher\_Polyn](https://forum.ansible.com/u/Gallagher_Polyn)\
**Post date:** [April 4, 2014, 5:34pm UTC](https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935/3 "2014-04-04T17:34:41Z")

</div>

> (A) host\_key\_checking can be configured on or off on ansible.cfg
> 
> (B) it’s enabled by default
> 
> What is the proposed change?

Add host\_key\_checking to [the list of behavioral inventory parameters](http://docs.ansible.com/intro_inventory.html#list-of-behavioral-inventory-parameters), allowing selective use of the setting.

Gallagher

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [April 4, 2014, 5:40pm UTC](https://forum.ansible.com/t/feature-request-host-key-checking-offered-as-ansible-host-key-checking-option/14935/4 "2014-04-04T17:40:45Z")

</div>

I’d be open to this.

Something you’d like to work on?
