Commit Graph

66 Commits

Author SHA1 Message Date
Luke Sneeringer
122bf9fcd3 Merge branch 'master' into expunge-zeromq-unstable 2014-11-11 07:52:11 -06:00
Chris Church
73636ef1a0 Update ec2 inventory to include instance_filters support (https://github.com/ansible/ansible/pull/8822). 2014-11-10 14:27:14 -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
ec55603e3f Fixing various small issues to improve tests. 2014-11-05 16:07:57 -06:00
Chris Church
43f46f830f Update VMware inventory to better handle AttributeErrors. 2014-11-04 12:06:09 -05:00
Luke Sneeringer
fd9647ce94 Use closing consistently. 2014-11-04 10:46:17 -06:00
Luke Sneeringer
f000e71371 Merge branch 'master' into expunge-zeromq-unstable 2014-10-30 15:30:39 -05:00
Chris Church
b1f1cfa633 Update docstring for VMware inventory script. 2014-10-30 14:10:14 -04: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
Luke Sneeringer
8d90650134 Shifting job callbacks to ZeroMQ. 2014-10-29 13:51:47 -05:00
Matthew Jones
046561ecaa add counter to jobevent object sourced from callback ansible plugin 2014-08-19 15:50:41 -04:00
Luke Sneeringer
c4825dbf6c Fix VMware capitalization 2014-08-14 14:59:37 -04:00
Luke Sneeringer
d438dd31f4 Make VMWare script less willing to set client to None. 2014-08-11 10:05:50 -05:00
Chris Church
7461eabc6a Updated ec2 inventory from core: ansible/ansible#8516 2014-08-09 20:10:27 -04:00
Luke Sneeringer
4723ad0a71 VMware support within Tower. 2014-08-07 11:09:33 -05:00
Luke Sneeringer
e50711e301 Use expanduser on cache dir loaded from INI. 2014-08-04 10:15:41 -05:00
Luke Sneeringer
674e895d0a Shift default Azure cache directory from /tmp to ~ 2014-08-04 10:13:40 -05:00
Luke Sneeringer
0a0844f40e Require pycrypto >= 2.6 for gce.py 2014-08-04 09:38:42 -05:00
Luke Sneeringer
5987f60e3f Add _meta to Azure inventory script. 2014-08-01 11:08:15 -05:00
Chris Church
90e2e8775c Update ec2 inventory script from core, no more tower-specific changes. 2014-07-31 15:21:05 -04:00
Luke Sneeringer
cf96240556 Azure inventory sync! 2014-07-29 13:06:27 -05:00
Luke Sneeringer
95567ff004 [in progress] Azure support. 2014-07-28 13:22:58 -05:00
Luke Sneeringer
a1059dabae Working GCE inventory sync. 2014-07-25 11:12:12 -05:00
Luke Sneeringer
de88b8b222 Updating GCE inventory to support env vars. 2014-07-25 11:12:11 -05:00
Luke Sneeringer
4d0abd4cca Removed PEM file things. 2014-07-25 11:12:11 -05:00
Luke Sneeringer
e44784651a Added vmware inventory plugin from Ansible. 2014-07-25 11:12:11 -05:00
Chris Church
32822f43d3 Include ec2 inventory changes from https://github.com/ansible/ansible/pull/8010 and https://github.com/ansible/ansible/pull/8119 2014-07-14 18:12:07 -04:00
Chris Church
26171c69b9 Added latest rax inventory plugin from core. 2014-07-01 17:20:56 -04:00
Chris Church
c918dfe307 Fix for traceback when using nested groups. 2014-06-28 18:16:36 -04:00
Chris Church
7229f9cc8f AC-1302 Update EC2 inventory script to create hierarchical groups.
Conflicts:
	awx/main/tests/inventory.py
2014-06-26 14:54:51 -04:00
Chris Church
79dcadf155 Capture play name and host pattern separately in job event data. 2014-05-15 18:53:02 -04:00
Chris Church
2546cbdbb6 AC-504 Capture role when available for job events. 2014-04-15 00:22:57 -04:00
Chris Church
1283a78e09 AC-1134 Updated rax/ec2 inventory scripts from ansible. Added ability to filter groups/hosts by regular expression and exclude empty groups, so that Tower can exclude RAX/EC2 instance ID groups and EC2 RDS hosts/groups. 2014-04-08 23:50:57 -04:00
Chris Church
56f8d6748b Updated inventory plugins from ansible, updated all third party packages in awx/lib/site-packages to latest versions, minor serializer fixes after package upgrades. 2014-03-31 13:26:00 -04:00
Chris Church
8e61d17cb4 Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback. 2014-02-26 14:11:59 -05:00
Chris Church
0462bb3f3f AC-1061 Removed my test exception raised in the inventory script. 2014-02-25 18:49:30 -05:00
Chris Church
a18b9e2270 AC-1061 Fix inventory script to return dict with failed flag when there is an error instead of an empty dict so that ansible-playbook will propagate the error message. 2014-02-25 17:11:04 -05:00
Matthew Jones
00676c95e0 Change zmq socket characterstics to ack response. Fix up unit tests 2014-02-21 10:40:53 -05:00
Matthew Jones
f6870634c4 Cleanup and refactor some parts of thew new zeromq based callback receiver 2014-02-18 13:54:28 -05:00
Matthew Jones
2c694e5e07 Some cleanup and documentation for zeromq implementation 2014-02-17 11:11:48 -05:00
Matthew Jones
770947d18d Pull results off zeromq and distribute to workers 2014-02-12 16:09:57 -05:00
Matthew Jones
063380304a Manage the zeromq connection per-pid 2014-02-11 05:56:51 -05:00
Matthew Jones
66e9e2310c Initial 0mq implementation 2014-02-11 05:40:31 -05:00
Chris Church
cb8b58b0ae AC-1015 Added retry count for saving to database, minor retry refactor for publishing job events. 2014-02-09 13:51:40 -05:00
Chris Church
a4ae6567dc AC-1015 Update queue names so that job events are only received by the right save job events task. Add database retry to save job events task. 2014-02-09 05:58:33 -05:00
Chris Church
b708edffd9 AC-1012 Force use of pyamqp even if librabbitmq is installed. 2014-02-07 20:03:52 -05:00
Chris Church
f02a93c333 AC-1012 Open a new RabbitMQ connection for each forked process to prevent intermittent hang, update debug logging for job event callback. 2014-02-07 17:12:52 -05:00
Chris Church
e9d308c927 AC-1015 Changed where save_job_events task is started so that job events don't appear to be missing when they're stuck in the queue. 2014-02-06 17:44:17 -05:00
Chris Church
91cc144e87 AC-990 Updated callback plugin and related task to prevent missed/duplicate job events, catch exceptions and retry. Fixed task run_pexect method so that canceling a job will work. 2014-02-04 17:38:38 -05:00
Chris Church
32364ad055 AC-990 Add new task for saving all job events from a queue, updated callback plugin to send to queue, work on optimizing SQL that runs when saving a job event. 2014-02-03 17:05:03 -05:00