Hi,
I installed docker, docker-py, ansible and cloned AWX. When i try to install AWX, I am getting below error. Any help will be appreciated. Thank you.
TASK [local_docker : Activate postgres container] *******************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: create_host_config() got an unexpected keyword argument ‘init’
fatal: [localhost]: FAILED! => {“changed”: false, “module_stderr”: “Traceback (most recent call last):\n File "/tmp/ansible_HfVjrh/ansible_module_docker_container.py", line 2081, in \n main()\n File "/tmp/ansible_HfVjrh/ansible_module_docker_container.py", line 2076, in main\n cm = ContainerManager(client)\n File "/tmp/ansible_HfVjrh/ansible_module_docker_container.py", line 1703, in init\n self.present(state)\n File "/tmp/ansible_HfVjrh/ansible_module_docker_container.py", line 1723, in present\n new_container = self.container_create(self.parameters.image, self.parameters.create_parameters)\n File "/tmp/ansible_HfVjrh/ansible_module_docker_container.py", line 825, in create_parameters\n host_config=self._host_config(),\n File "/tmp/ansible_HfVjrh/ansible_module_docker_container.py", line 931, in _host_config\n return self.client.create_host_config(**params)\n File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 157, in create_host_config\n return utils.create_host_config(*args, **kwargs)\nTypeError: create_host_config() got an unexpected keyword argument ‘init’\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 1}
to retry, use: --limit @/root/awx/installer/install.retry
PLAY RECAP **********************************************************************************************************************************************************************************************************************************
localhost : ok=4 changed=0 unreachable=0 failed=1
Warm Regards,
Ram V