1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
Commit Graph

41 Commits

Author SHA1 Message Date
Chris Meyers
f9d0c74bbc fix supervisord issue
* exec spawned python process so we don't have grandparents
* increase time until supervisord is killed
2016-05-13 15:41:46 -04:00
Graham Mainwaring
a6acb5181a Merge pull request #1417 from ansible/python27_el6
EL6 Python 2.7 and Tower virtualenvs
2016-04-06 10:57:18 -04:00
James Laska
e1ee5d396d Don't manage mongo in ansible-tower-service script
Connect #1290
2016-03-30 09:10:17 -04:00
Graham Mainwaring
1427fee442 Add script wrapper to establish Tower SCL and venv before running Python 2016-03-21 12:11:19 -04:00
Bill Nottingham
1bd6ffa3c9 Add PowerShell version of request_tower_configuration. From @nitzmahone. 2015-11-05 10:15:37 -05:00
James Laska
9d5d17fa70 Handle rpm --addsign pasphrase prompts 2015-09-09 18:51:41 -04:00
James Laska
87d8808c2d Fix expect script timeout 2015-09-09 13:07:09 -04:00
James Laska
b7ddbc48b1 Disable timeout and correct sign.exp error 2015-09-09 12:13:55 -04:00
James Laska
06e6980eaf Fix expect script hang 2015-09-09 11:18:06 -04:00
James Laska
3a914619ce Improvements to the package signing script 2015-09-09 11:01:44 -04:00
James Laska
1b6b622d70 Ignore case to handle multiple prompts
Handles the multiple prompts from debuild and reprepro, each with different
cases.
2015-09-08 22:00:27 -04:00
James Laska
c02d993e73 Return exit code from spawned process 2015-09-08 15:43:04 -04:00
James Laska
3210b8c0dc Add helper script to sign using expect 2015-09-07 20:37:20 -04:00
James Laska
316d0c0f77 Continue, don't break out of the iteration 2015-07-14 14:53:57 -04:00
James Laska
bca8bae508 Only check if mongo is needed locally 2015-07-14 12:10:01 -04:00
James Laska
81c4abfed8 Correct initscript order and mongod detection
In addition to starting and stopping mongod in the correct order, the check for
determining whether mongod is required needs to happen when the service is
managed.
2015-07-14 11:14:13 -04:00
Matthew Jones
7fd4613523 Remove uses_mongo redirection from service script 2015-07-13 15:44:58 -04:00
Matthew Jones
9a4b19bd11 Update start/stop service script ordering
Mongo needs to be last when starting and first when stopping if enabled
2015-07-13 14:05:22 -04:00
Matthew Jones
eb42214d90 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
2015-05-22 10:15:16 -04:00
Luke Sneeringer
56f06033ae Merge pull request #212 from ansible/mongodb-unstable
MongoDB installation as part of Tower.
2015-05-19 12:48:31 -04:00
Matthew Jones
e4936e4b80 Fix supervisor restart behavior for ubuntu, and adjust timeouts *way*
down on when supervisor can harikiri it's child processes
2015-05-18 12:06:29 -04:00
Luke Sneeringer
bd5d3778f6 MongoDB installation as part of Tower. 2015-05-14 11:33:02 -05:00
Chris Church
02f9f68536 Added API validation of instance filter names. Fixes https://trello.com/c/VH9Vnd8z 2014-12-03 00:26:25 -05:00
James Laska
d47d2f5700 Add ansible-tower.{default,sysconfig} script
The 'ansible-tower' service script now comes with an additional file:

    /etc/{default,sysconfig}/ansible-tower

This file is used to specify the services managed by the 'ansible-tower'
service script.  The presence of this file allows admins (or the setup
playbook) to customize the services managed.  For example, when using a
remote postgres server, one would remove 'postgresql' from the list of
tower managed services.
2014-11-25 09:22:02 -05:00
James Laska
955af6aa85 Add support for customizing managed tower services
Allows for overriding the services managed by the ansible-tower
initscript.
2014-11-24 16:28:13 -05:00
James Laska
c7079cf338 Wait when stopping supervisor
Fixes a problem where we issue a start before supervisor has cleaned up
child pids (Ubuntu only).

Trello: https://trello.com/c/5rOxYcY5
2014-11-17 13:25:33 -05:00
James Laska
b8f96d3037 Use correct redis service name on Ubuntu
Fixes ansible-tower service failure when [re]starting on Ubuntu systems.

Trello: https://trello.com/c/YLZM5SUH
2014-11-12 09:21:05 -05:00
Luke Sneeringer
4eb1eb8036 Remove RabbitMQ. 2014-10-27 11:43:37 -05:00
Matthew Jones
1fa2d35977 Don't provide any dependencies from the tower init script 2014-08-07 12:46:36 -04:00
Matthew Jones
b1b3a5879f Fix up playbook to use new init script 2014-08-01 13:27:23 -04:00
Matthew Jones
55b12cb785 Fix up init script to use service command, preserve the worst return
code and use that as the exit status
2014-08-01 09:51:16 -04:00
Matthew Jones
27c44ac5d8 Updating init script installation details 2014-07-31 10:40:11 -04:00
Matthew Jones
65aadb862e Updates to tower init script 2014-07-31 10:05:32 -04:00
Matthew Jones
56255777bc Creating and moving around new tower monitors for munin 2014-07-30 16:58:02 -04:00
Matthew Jones
da6f07dd64 Add tower meta-init script 2014-07-30 13:18:59 -04:00
Matthew Jones
d36976f76d Tweak tower jobs munin reporting script 2014-07-30 11:40:25 -04:00
Matthew Jones
9ba043b20f More updates for tower graphs in munin 2014-07-29 12:37:51 -04:00
Matthew Jones
69a3f68832 Add some munin tower monitoring tasks 2014-07-29 11:44:54 -04:00
Matthew Jones
8ffdc6de29 Rename tower retry script and reframe documentation 2014-04-16 11:17:04 -04:00
Matthew Jones
1d28f73687 Include the actuall callback retry script 2014-04-15 16:02:59 -04:00
Chris Church
01d7df3ab2 Added sample script for launching a job via the API. 2013-07-30 22:48:30 -04:00