summaryrefslogtreecommitdiffstats
path: root/tools/sosreport/tower.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@splat.cc>2018-04-17 18:10:46 +0200
committerBill Nottingham <notting@splat.cc>2018-04-17 18:25:26 +0200
commitade51c93d8d6ac5132f952a47d5287cea9fe3cac (patch)
treee21c7e786a558657ab92992917878788177df885 /tools/sosreport/tower.py
parentMerge pull request #1391 from AlanCoding/crusty_setting (diff)
downloadawx-ade51c93d8d6ac5132f952a47d5287cea9fe3cac.tar.xz
awx-ade51c93d8d6ac5132f952a47d5287cea9fe3cac.zip
Add some more information to sosreports.
- tower cluster configuration - list of all venvs (including custom ones)
Diffstat (limited to '')
-rw-r--r--tools/sosreport/tower.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sosreport/tower.py b/tools/sosreport/tower.py
index 732bcca9f7..60f901684e 100644
--- a/tools/sosreport/tower.py
+++ b/tools/sosreport/tower.py
@@ -7,11 +7,13 @@ from distutils.version import LooseVersion
SOSREPORT_TOWER_COMMANDS = [
"ansible --version", # ansible core version
"awx-manage --version", # tower version
+ "awx-manage list_instances", # tower cluster configuration
"supervisorctl status", # tower process status
"/var/lib/awx/venv/awx/bin/pip freeze", # pip package list
"/var/lib/awx/venv/ansible/bin/pip freeze", # pip package list
"tree -d /var/lib/awx", # show me the dirs
"ls -ll /var/lib/awx", # check permissions
+ "ls -ll /var/lib/awx/venv", # list all venvs
"ls -ll /etc/tower",
"ls -ll /var/lib/awx/job_status/"
]