# In the Ansible-Runner Input Directory Hierarchy where do the \`ansible.cfg\` configurations go?

**URL:** <https://forum.ansible.com/t/in-the-ansible-runner-input-directory-hierarchy-where-do-the-ansible-cfg-configurations-go/4194>\
**Category:** Get Help\
**Tags:** ansible-runner\
**Created:** [March 4, 2024, 8:00am UTC](https://forum.ansible.com/t/in-the-ansible-runner-input-directory-hierarchy-where-do-the-ansible-cfg-configurations-go/4194 "2024-03-04T08:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShanDesai](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Post date:** [March 4, 2024, 8:00am UTC](https://forum.ansible.com/t/in-the-ansible-runner-input-directory-hierarchy-where-do-the-ansible-cfg-configurations-go/4194/1 "2024-03-04T08:00:01Z")

</div>

I am transitioning my project to have the Ansible Runner’s [**Input Directory Hierarchy**](https://ansible.readthedocs.io/projects/runner/en/stable/intro/#runner-input-directory-hierarchy) structure.

I currently have the following `ansible.cfg`

```auto
stdout_callback = yaml
host_key_checking = False

```

I cannot find any documentation where this information needs to be placed in the the Input Directory Hierarchy Structure for my project.

I wish to see my `ansible-runner` STDOUT logs in the YAML format but I am seeing them in the JSON format at the moment.

---

<div class="post-metadata">

**Author:** ![ShanDesai](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Post date:** [March 4, 2024, 8:06am UTC](https://forum.ansible.com/t/in-the-ansible-runner-input-directory-hierarchy-where-do-the-ansible-cfg-configurations-go/4194/2 "2024-03-04T08:06:30Z")

</div>

Okay the solution is to add them either as YAML or JSON in the `env/envvars` file.

For my configuration the following upon comparing with the Ansible Configuration Settings [Docs](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#ansible-configuration-settings)

```yaml
---
# env/envvars
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_HOST_KEY_CHECKING: false

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [April 3, 2024, 8:06am UTC](https://forum.ansible.com/t/in-the-ansible-runner-input-directory-hierarchy-where-do-the-ansible-cfg-configurations-go/4194/3 "2024-04-03T08:06:54Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
