Chris Church
c1d90e1897
Keep git URLs in SCP format for project updates. Fixes https://trello.com/c/xUL2FZyu
2015-02-26 15:46:55 -05:00
Matthew Jones
fed4262ee2
Some light implimentation details for basic fact caching and collection
2015-02-19 11:27:40 -05:00
Matthew Jones
bb3732b2c1
Cleaning up some flake8 errors, pyflakes in this case
2015-02-10 17:00:23 -05:00
Matthew Jones
9e97783b13
Fixing up more pep8 issues
2015-02-04 16:32:14 -05:00
Matthew Jones
6e6a709165
Fixing up some pep8 issues
2015-02-03 13:46:58 -05:00
Matthew Jones
89eeadacdb
Merge pull request #39 from chrismeyersfsu/fix-task_retry_spelling
...
fixed variable name error
2015-01-26 16:09:57 -05:00
Chris Meyers
8e22aafbed
fixed variable name error
2015-01-26 16:08:28 -05:00
Matthew Jones
de429ac683
Fix an issue where extra data wasn't being passed down to system jobs
...
from the schedules
2015-01-26 15:31:57 -05:00
Chris Meyers
5264d11ff0
Misspelling in save field
...
'job_status' changed to 'status'
2015-01-15 09:37:05 -05:00
Chris Church
4dff25884f
Re-enable proot by default, add python-psutil as a dependency, implement support for terminating SSH control master processes so that playbook runs exit cleanly.
2015-01-14 17:17:15 -05:00
Matthew Jones
0eaf2dc00c
Protect the system from when one attempts to start a job without an inventory
2015-01-08 14:55:58 -05:00
Chris Church
6996c66619
Wrap commands with proot first, then ssh-agent. Fixes issue from https://trello.com/c/GU6kiuzq where playbook runs to completion but returns a nonzero exit code.
2015-01-06 15:54:08 -05:00
Chris Church
7c7a68dfad
Include return code in exception message when task has an error or is canceled.
2015-01-06 11:27:34 -05:00
Matthew Jones
41cabb0899
Add the ability to cleanup management jobs in the cleanup_jobs
...
management command
2014-12-17 16:54:13 -05:00
Luke Sneeringer
fd6eb66b20
Secondaries should not have schedules.
2014-12-17 15:33:16 -06:00
Chris Church
ee97e83b2c
Allow EC2 inventory sources to omit a credential in order to use IAM roles. Implements https://trello.com/c/aBMF95eF
2014-12-17 01:50:25 -05:00
Matthew Jones
b2e1f04ecf
Include all cleanup tasks when the cleanup management job is run
2014-12-16 15:38:07 -05:00
Matthew Jones
6a162c2a3b
Ansible folks say SIGINT works.... doesn't seem to stop the playbook to
...
me, but whatever
2014-12-10 13:44:30 -05:00
Matthew Jones
f62b9ff2c0
Switch to using SIGTERM for canceling a job
2014-12-10 10:34:18 -05:00
Matthew Jones
ec887f877f
Support running custom inventory scripts (only) from within proot if enabled
2014-12-05 15:25:06 -05:00
Matthew Jones
e05f9e081c
Throw an error when running an inventory update against an inventory
...
script that has been deleted
2014-12-03 16:09:55 -05:00
Matthew Jones
fcc7d3d7b1
Rework the callback emitter a little more, purge tower internals from
...
the module and fallback to the older codebase's mechanism. Make sure
we are passing the callback port as a string otherwise it seems to
corrupt the shell
2014-12-03 11:27:37 -05:00
Chris Church
ba652b5dd3
Updated blacklist/rules for environment variables that can be set by source_vars for a custom inventory script. Fixes https://trello.com/c/CWbeHJ0L
2014-12-03 00:45:46 -05:00
Matthew Jones
13ee4e6048
Fix up an issue passing the callback port, which isn't strictly
...
necessary... if provided it causes a crash that corrupts the shell
2014-12-02 15:46:18 -05:00
Chris Church
35c392ab17
Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH
2014-11-26 03:20:45 -05:00
Matthew Jones
fb8d7e5d9c
Fix up direct launching of system jobs
2014-11-18 11:38:24 -05:00
Matthew Jones
300396c7ce
Extend cache timeout to schedule runner also, block running a schedule
...
of an inventory update or a project update if its schedule places
it within that time also
2014-11-13 13:47:23 -05:00
Chris Church
4a030c3725
Hide all of /var/log/ from jobs running using proot.
2014-11-11 18:52:54 -05:00
Chris Church
a9c6dadc1a
Remove extra print statements, minor contributing updates.
2014-11-11 18:09:01 -05:00
Luke Sneeringer
0e8121f7f1
Merge branch 'master' into expunge-zeromq-unstable
...
Conflicts:
setup/roles/awx_install/handlers/main.yml
2014-11-10 08:47:08 -06:00
Luke Sneeringer
ed34d5f469
Fix all but one unit test.
2014-11-07 14:26:31 -06:00
Matthew Jones
27fd173e72
Custom inventory script environment variable blacklist
2014-11-06 11:17:44 -05:00
Chris Church
886d9f2120
Added /var/log/supervisor to paths hidden by proot.
2014-11-04 11:27:20 -05:00
Luke Sneeringer
f000e71371
Merge branch 'master' into expunge-zeromq-unstable
2014-10-30 15:30:39 -05:00
Chris Church
f5a174f991
Fixes https://trello.com/c/8KGzMa75 - Updates to VMware inventory script to include additional host variables, groups and ansible_ssh_host.
2014-10-30 13:47:49 -04:00
Matthew Jones
1fae7e6764
Add more customization with data passed to the system job when run
2014-10-28 15:44:14 -04:00
Matthew Jones
098d4dc02e
Force stringify shell environment variables
2014-10-28 14:35:09 -04:00
Luke Sneeringer
99381f11fa
Beginning swap of ZeroMQ for Redis.
2014-10-27 16:18:04 -05:00
Luke Sneeringer
f4efbfc95a
Working Redis, but need to switch out ZeroMQ.
2014-10-27 13:24:24 -05:00
Chris Church
4eb0ed225b
Implement https://trello.com/c/Oznsyg2c - Always use ssh-agent to run playbooks whenever an SSH key is provided.
2014-10-23 14:34:38 -04:00
Matthew Jones
0f068f6127
Fix some encoding issues for custom inventory scripts
2014-10-20 13:04:45 -04:00
Matthew Jones
103929c9ee
Allow passing variables with schedules to support extra data on system jobs
2014-10-17 14:41:00 -04:00
Matthew Jones
c43a7be99e
Make it so that we take source_vars with the custom inventory script
...
when defining the inventory source. Slight modification to the UI to
make that possible
2014-10-14 15:38:42 -04:00
Matthew Jones
8b8fb2403c
Fix some bugs with missing elements in the run system job task
2014-10-14 14:21:18 -04:00
Matthew Jones
fbf9a4957e
Initial system job implementation
2014-10-14 11:11:17 -04:00
Matthew Jones
7b6c5f68a9
Don't remove script at this point
2014-09-30 11:54:28 -04:00
Matthew Jones
06c75aeecf
Implement API side for custom inventory script support with endpoints
...
and unit tests
2014-09-30 11:50:50 -04:00
Chris Church
2d1580bccb
Implements https://trello.com/c/1NJKBOex - Add support for using proot to run jobs in isolated environment.
2014-09-25 14:54:43 -04:00
Chris Church
e427234aec
Implements https://trello.com/c/bEMQtVjz - API/UI changes to support su username/password. Adds force_handlers, skip_tasks and start_at_task options to jobs, only exposed via API.
2014-09-11 17:34:38 -04:00
Luke Sneeringer
3267a988f8
Shift Django to 1.6.x (>= 1.6.7).
2014-09-10 12:17:35 -05:00