Fix an issue with centos 7 after adding mongo as a service dependency

* Move the ansible-tower service script to a normal bin utility
* Modify the playbook to not call the old meta init script but to use
      the specific services that are needed
This commit is contained in:
Matthew Jones
2015-05-22 10:15:16 -04:00
parent 682a804a55
commit eb42214d90
2 changed files with 25 additions and 31 deletions

View File

@@ -21,6 +21,7 @@ else:
etcpath = "/etc/tower"
homedir = "/var/lib/awx"
sharedir = "/usr/share/awx"
bindir = "/usr/bin"
munin_plugin_path = "/etc/munin/plugins/"
munin_plugin_conf_path = "/etc/munin/plugin-conf.d"
@@ -129,7 +130,7 @@ setup(
"tools/munin_monitors/socketio_alive",
"tools/munin_monitors/taskmanager_alive"]),
("%s" % munin_plugin_conf_path, ["config/awx_munin_tower_jobs"]),
("%s" % sysinit, ["tools/scripts/ansible-tower"]),
("%s" % bindir, ["tools/scripts/ansible-tower-service"]),
("%s" % sosconfig, ["tools/sosreport/tower.py"])]),
options = {
'egg_info': {