# Which options in ansible.cfg is overriden by AnsibleTower

**URL:** <https://forum.ansible.com/t/which-options-in-ansible-cfg-is-overriden-by-ansibletower/28174>\
**Category:** AWX Project\
**Created:** [July 27, 2018, 5:07am UTC](https://forum.ansible.com/t/which-options-in-ansible-cfg-is-overriden-by-ansibletower/28174 "2018-07-27T05:07:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tchia04](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Post date:** [July 27, 2018, 5:07am UTC](https://forum.ansible.com/t/which-options-in-ansible-cfg-is-overriden-by-ansibletower/28174/1 "2018-07-27T05:07:59Z")

</div>

According to the following snippet from [https://docs.ansible.com/ansible-tower/latest/html/administration/tipsandtricks.html](https://docs.ansible.com/ansible-tower/latest/html/administration/tipsandtricks.html),  
some of the options are overriden. Is there a way to find out a list of the options that will be overriden/ignored? If the list of ignored options is too big, maybe a list of options that isn’t overriden by ansible tower?

Tower overrides some ansible.cfg options. For example, Tower stores the SSH ControlMaster sockets, the SSH agent socket, and any other per-job run items in a per-job temporary directory, secured by multi-tenancy access control restrictions via PRoot.

Thanks  
Tony Chia

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [August 1, 2018, 4:15pm UTC](https://forum.ansible.com/t/which-options-in-ansible-cfg-is-overriden-by-ansibletower/28174/2 "2018-08-01T16:15:50Z")

</div>

Hey Tony,

I have to cop out here and say “it depends”. Two good ways to figure out when/if your settings are going to be overwritten by AWX.  
(1) read the source code in tasks.py [https://github.com/ansible/awx/blob/devel/awx/main/tasks.py#L1167](https://github.com/ansible/awx/blob/devel/awx/main/tasks.py#L1167) This is were we decide what ansible.cfg options to override via ENV variables.  
(2) Run a job and look at the API endpoint for the job. We save the ENV that we inject and you can see the ANSIBLE\_ variables that are being overwritten.

Hope that helps!
