Error and Resoluton. installing isolated_group Ansible Tower TASK [find bundle version]
Environment:
SOURCE: (Ansible tower installation done on a freshly installed RHEL8.1 (Ootpa) - using bundled installation
Install path: "src/ansible-tower-setup-bundle-3.6.2-1"
TARGET1 (available jump host at OFFICE1)
[root@OFFICE1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
tron.xx.xxxx.net
TARGET2: (available jump host at OFFICE2)
[root@OFFICE2 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
sark.xx.xxxx.net
How to to recreate:
Have Ansible tower freshly installed
Copy "Source" public keys to Target hosts' authorized keys (root)
Update inventory file in the "Install path" on SOURCE insert:
[isolated_group_office1]
tron.xx.xxxxx.net controller=tower
[isolated_group_office2]
sark.xx.xxxxx.net controller=tower
Run ./setup.sh
It will fail
TASK [find bundle version] ************************************************************************************************************************************************************************************
fatal: [sark.xx.xxxx.net -> localhost]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: /usr/bin/python: No such file or directory\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}
fatal: [tron.xx.xxxx.net -> localhost]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: /usr/bin/python: No such file or directory\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}
Resolved the above by setting symbolic link on tower master (controller)
[root@SOURCE tower] # cd /usr/bin
[root@SOURCE bin] # ln -s python python3
[root@SOURCE bin] # python -V
Python 3.6.8