diff --git a/awx/api/templates/api/system_job_template_launch.md b/awx/api/templates/api/system_job_template_launch.md index 3a5d2d3b7a..95d0f6b378 100644 --- a/awx/api/templates/api/system_job_template_launch.md +++ b/awx/api/templates/api/system_job_template_launch.md @@ -4,7 +4,7 @@ Make a POST request to this resource to launch the system job template. Variables specified inside of the parameter `extra_vars` are passed to the system job task as command line parameters. These tasks can be ran manually -on the host system via the `tower-manage` command. +on the host system via the `awx-manage` command. For example on `cleanup_jobs` and `cleanup_activitystream`: diff --git a/awx/main/tasks.py b/awx/main/tasks.py index bae065f88d..5b02e694fb 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -1810,7 +1810,7 @@ class RunInventoryUpdate(BaseTask): inventory = inventory_source.inventory # Piece together the initial command to run via. the shell. - args = ['tower-manage', 'inventory_import'] + args = ['awx-manage', 'inventory_import'] args.extend(['--inventory-id', str(inventory.pk)]) # Add appropriate arguments for overwrite if the inventory_update @@ -2116,7 +2116,7 @@ class RunSystemJob(BaseTask): model = SystemJob def build_args(self, system_job, **kwargs): - args = ['tower-manage', system_job.job_type] + args = ['awx-manage', system_job.job_type] try: json_vars = json.loads(system_job.extra_vars) if 'days' in json_vars and system_job.job_type != 'cleanup_facts': diff --git a/tools/sosreport/tower.py b/tools/sosreport/tower.py index 8b61626d1c..9ca0915509 100644 --- a/tools/sosreport/tower.py +++ b/tools/sosreport/tower.py @@ -6,7 +6,7 @@ from distutils.version import LooseVersion SOSREPORT_TOWER_COMMANDS = [ "ansible --version", # ansible core version - "tower-manage --version", # tower version + "awx-manage --version", # tower version "supervisorctl status", # tower process status "/var/lib/awx/venv/tower/bin/pip freeze", # pip package list "/var/lib/awx/venv/ansible/bin/pip freeze", # pip package list