tower-diagnose pulls all the details from Ansible Tower using REST API endpoint and stores the output in a text file with their respective endpoint name.
- tower-diagnose requires python 2.7+
- Install dependencies by executing the below command
pip install -r requirements.txt
- Edit config.ini by passing Tower url, username and password.
- Now, execute tower_diagnose script like below
./tower_diagnose
- After execution it'll return a bzip2 type tar file in the below format:
tower-diagnose-%Y-%m-%d-%H-%M-%S.tar.bz2
- Unpack the newly created tar file and check for Tower endpoint details.