# Error connecting: load\_config() got an unexpected keyword argument 'config\_dict'

**URL:** <https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27027>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 18, 2018, 8:10am UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27027 "2018-03-18T08:10:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vino\_B](https://avatars.discourse-cdn.com/v4/letter/v/839c29/32.png) [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Post date:** [March 18, 2018, 8:10am UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27027/1 "2018-03-18T08:10:29Z")

</div>

Hi All,

Trying to install ansible AWX and getting the below error tried to downgrade to 3.1.0 and 3.0.0 but still no luck

TASK [local\_docker : Activate postgres container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Error connecting: load\_config() got an unexpected keyword argument ‘config\_dict’”}

Version used

ansible 2.6.0

python version = 2.7.13

docker (3.1.1)  
docker-py (1.10.6)  
docker-pycreds (0.2.2)

From,  
Vino.B

---

<div class="post-metadata">

**Author:** ![Vino\_B](https://avatars.discourse-cdn.com/v4/letter/v/839c29/32.png) [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Post date:** [March 19, 2018, 5:41am UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27027/2 "2018-03-19T05:41:26Z")

</div>

Hi All,

Any help would be much appreciated.

From,  
Vino.B

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [March 19, 2018, 12:23pm UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27027/3 "2018-03-19T12:23:57Z")

</div>

> tried to downgrade to 3.1.0 and 3.0.0

What are you trying to downgrade? These version numbers don’t match AWX

> ansible 2.6.0

How are you running ansible 2.6.0 if 2.4 is the latest released version of ansible and 2.5 is putting out release candidates?

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [March 20, 2018, 1:32pm UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27027/4 "2018-03-20T13:32:42Z")

</div>

I’d recommend you stick with Ansible 2.4.X rather than installing the bleeding edge HEAD from the ansible source tree which will be highly unstable. The latest stable Ansible is available in most distro repositories, refer to the link that you posted.
