Error connecting: load_config() got an unexpected keyword argument 'config_dict'

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

Hi All,

Any help would be much appreciated.

From,
Vino.B

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?

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.