mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Rename ansible-tower file to automation-controller
This commit is contained in:
parent
2594b90565
commit
f89cf95c51
@ -20,7 +20,7 @@ recursive-exclude awx/ui/client *
|
||||
recursive-exclude awx/settings local_settings.py*
|
||||
include tools/scripts/request_tower_configuration.sh
|
||||
include tools/scripts/request_tower_configuration.ps1
|
||||
include tools/scripts/ansible-tower-service
|
||||
include tools/scripts/automation-controller-service
|
||||
include tools/scripts/failure-event-handler
|
||||
include tools/scripts/awx-python
|
||||
include awx/playbooks/library/mkfifo.py
|
||||
|
||||
2
setup.py
2
setup.py
@ -141,7 +141,7 @@ setup(
|
||||
# ("%s" % webconfig, ["config/uwsgi_params"]),
|
||||
("%s" % sharedir, ["tools/scripts/request_tower_configuration.sh","tools/scripts/request_tower_configuration.ps1"]),
|
||||
("%s" % docdir, ["docs/licenses/*",]),
|
||||
("%s" % bindir, ["tools/scripts/ansible-tower-service",
|
||||
("%s" % bindir, ["tools/scripts/automation-controller-service",
|
||||
"tools/scripts/failure-event-handler",
|
||||
"tools/scripts/awx-python",
|
||||
"tools/scripts/ansible-tower-setup"]),
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /etc/sysconfig/ansible-tower ]; then
|
||||
source /etc/sysconfig/ansible-tower
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
start|stop|restart)
|
||||
exec systemctl $1 ansible-tower.service
|
||||
;;
|
||||
status)
|
||||
exec systemctl status ansible-tower.service $TOWER_SERVICES
|
||||
;;
|
||||
*)
|
||||
echo "Usage: ansible-tower-service start|stop|restart|status"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
18
tools/scripts/automation-controller-service
Executable file
18
tools/scripts/automation-controller-service
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /etc/sysconfig/automation-controller ]; then
|
||||
source /etc/sysconfig/automation-controller
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
start|stop|restart)
|
||||
exec systemctl $1 automation-controller.service
|
||||
;;
|
||||
status)
|
||||
exec systemctl status automation-controller.service $TOWER_SERVICES
|
||||
;;
|
||||
*)
|
||||
echo "Usage: automation-controller-service start|stop|restart|status"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Loading…
x
Reference in New Issue
Block a user