DevOps

Ansible-Tower Setup Error.. for below versions:
++++++++++++++++++++++++++++++++++

ansible-tower-setup-3.1.3  ansible-tower-setup-3.1.5         ansible-tower-setup-3.4.0-2

Error 1:  fatal: [default]: FAILED! => {"changed": false, "msg": "value of state must be one of: reloaded, restarted, started, stopped, got: running"}

Solution: vi /root/ansible-tower-setup-3.1.5/roles/rabbitmq/tasks/main.yml

search for ;

- name: start and enable the rabbitmq service
  service:
    name: rabbitmq-server
    state: started or running ;;;;;;;;;--------->> change it to "restarted"  # then enjoy !
    enabled: yes



Error 2: 

FAILED! => {changed: false, cmd: awx-manage migrate --noinput, msg: [Errno 2] No such file or directory, rc: 2}

Remove ansible-tower properly and reinstall and the run setup again...You can use below command to remove Package

 --------#   su -c 'yum erase ansible-tower-3.4.0-2.el7.x86_64'

Error 3: 
polkitd[8703]: Unregistered Authentication Agent for unix-process:

Remove ansible-tower properly and reinstall and the run setup again...You can use below command to remove Package

 --------#   su -c 'yum erase ansible-tower-3.4.0-2.el7.x86_64'

No comments:

Post a Comment

Troubleshooting NFS

Common NFS Errors "No such host" - Name of the server is specified incorrectly "No such file or directory" - Either...