1
resposta

Problema na instalação do AWX

Já tentei várias coisas e na execução do playbook não sobe o awx e nenhum outro container

Abaixo parte do retorno da execução:

TASK [install-awx : Clonando o REPO] *************************************************************************************************************************************
task path: /projeto/ansible/install-awx/tasks/pre-req.yml:30
ok: [192.168.1.68] => {"after": "4cdec9c297aa93a5e810a32cae019b341ec38e7f", "before": "4cdec9c297aa93a5e810a32cae019b341ec38e7f", "changed": false, "remote_url_changed": false}

TASK [install-awx : Create file] *****************************************************************************************************************************************
task path: /projeto/ansible/install-awx/tasks/pre-req.yml:35
changed: [192.168.1.68] => {"changed": true, "dest": "/tmp/awx/installer/inventoryng", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "size": 632, "state": "file", "uid": 0}

TASK [install-awx : Insert/Update inventoryng] ***************************************************************************************************************************
task path: /projeto/ansible/install-awx/tasks/pre-req.yml:40
ok: [192.168.1.68] => {"changed": false, "msg": ""}

TASK [install-awx : Install awx] *****************************************************************************************************************************************
task path: /projeto/ansible/install-awx/tasks/setup-awx.yml:3
changed: [192.168.1.68] => {"changed": true, "cmd": ["ansible-playbook", "-i", "/tmp/aws/installer/inventoryng", "/tmp/awx/installer/install.yml"], "delta": "0:00:00.428323", "end": "2021-03-01 14:12:50.656631", "rc": 0, "start": "2021-03-01 14:12:50.228308", "stderr": "[WARNING]: Unable to parse /tmp/aws/installer/inventoryng as an inventory\nsource\n[WARNING]: No inventory was parsed, only implicit localhost is available\n[WARNING]: provided hosts list is empty, only localhost is available. Note that\nthe implicit localhost does not match 'all'", "stderr_lines": ["[WARNING]: Unable to parse /tmp/aws/installer/inventoryng as an inventory", "source", "[WARNING]: No inventory was parsed, only implicit localhost is available", "[WARNING]: provided hosts list is empty, only localhost is available. Note that", "the implicit localhost does not match 'all'"], "stdout": "\nPLAY [Build and deploy AWX] ****************************************************\nskipping: no hosts matched\n\nPLAY RECAP *********************************************************************", "stdout_lines": ["", "PLAY [Build and deploy AWX] ****************************************************", "skipping: no hosts matched", "", "PLAY RECAP *********************************************************************"]}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************************************************************************************
192.168.1.68               : ok=11   changed=5    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

bruno@ansibleserver:/projeto/ansible$ docker container ls
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
bruno@ansibleserver:/projeto/ansible$
1 resposta

Estou com o mesmo problema. O docker não carrega o container. Como resolver?

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software