Commit Graph
154 Commits
Author SHA1 Message Date
Matthew Jones 2ba7b3bdac Update vendored ec2 module 2015-10-29 13:27:34 -04:00
Matthew Jones b579b76099 Handle playbook_on_include events from v2 ansible 2015-10-20 11:18:07 -04:00
Matthew Jones 484a33f9c6 Update azure module from ansible 2015-10-12 11:46:20 -04:00
Matthew Jones 7a7e1941b1 Update vmware module from ansible 2015-10-12 11:44:58 -04:00
Matthew Jones e7c274b80c Updating rax module from ansible 2015-10-12 11:41:59 -04:00
Matthew Jones d382bf6f4f Update to latest GCE inventory module 2015-10-12 11:37:00 -04:00
Matthew Jones 4dc56e5d66 Fix an issue with ansible 2.0 and our fact cacher
This will be dependent on a PR submitted to core for 2.0 also:
https://github.com/ansible/ansible/pull/12695

So will not work right away unless you are pulling from devel.
2015-10-09 12:17:17 -04:00
Bill Nottingham 916391d0b3 Fix base class import on Ansible 2.0. 2015-10-07 13:03:52 -04:00
Matthew Jones 0e0037b7f8 Merge pull request #451 from matburt/iam_ephemeral_cred
Support IAM ephemeral cred
2015-10-01 10:59:10 -04:00
Matthew Jones 5de5b0209b Remove unused time import 2015-09-30 16:20:41 -04:00
Matthew Jones e034c0b326 Fix proot controlpersist cleanup issue
* Also removed psutil version and feature check from tasks.  We now
  include the most recent version of psutil all around
* Old versions of psutil must have had these Process() items as
  properties, they are functions now so we weren't properly evaluating
  them.  With this change we are and things are back to working normally
2015-09-30 15:56:31 -04:00
Matthew Jones 5ee3c78e7f Update ec2 module to latest ansible version 2015-09-30 13:40:06 -04:00
Chris Church 6c409404ba Incorporate OpenStack inventory changes from https://github.com/ansible/ansible/pull/11447 back into Tower. 2015-08-10 15:49:25 -04:00
Chris Church 0633d4c672 Don't create a group that is its own parent when an EC2 tag has an empty value. Fixes https://trello.com/c/2zc0odvX 2015-08-06 15:03:54 -04:00
Chris Church 5b16934459 Set azure inventory cache defaults before reading settings. 2015-06-30 16:41:22 -04:00
Chris Church e217ab00c0 Fix azure inventory to set ['_meta']['hostvars'] instead of just ['meta']. 2015-06-30 16:35:07 -04:00
Chris Church b7b5293fed Include vmware inventory updates from https://github.com/ansible/ansible/pull/11300 2015-06-30 14:00:06 -04:00
Chris Church 356d1b7134 Include gce inventory changes from https://github.com/ansible/ansible/pull/11299 2015-06-30 12:46:34 -04:00
Chris Church 0c6459cd07 Include ec2 inventory changes from https://github.com/ansible/ansible/pull/11293.
Include ec2.ini doc changes from https://github.com/ansible/ansible/pull/11236 and https://github.com/ansible/ansible/pull/11409.
2015-06-30 12:41:45 -04:00
Chris Meyers d076835051 for scan_services against RH machines. Do not depend on US language 2015-06-29 11:26:58 -04:00
Chris Church 8df9c40435 Add example settings for unit test, remove invalid private argument. 2015-06-12 00:59:10 -04:00
Chris Church 4607972135 Included openstack inventory script from core + changes from some open PRs, fixes to be able to use without custom changes for tower. 2015-06-12 00:58:33 -04:00
Chris Meyers d5b7be3f4f Merge pull request #276 from chrismeyersfsu/fix-fact_inventory_relationship
associate scan runs with a particular inventory host
2015-06-11 20:55:13 -04:00
John Mitchell 32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Chris Meyers 0c7638bdd7 associate scan runs with a particular inventory host 2015-06-11 15:14:00 -04:00
Chris Church 58207b4a04 Update ec2 inventory from core. 2015-06-09 14:53:31 -04:00
Matthew Jones d76ee309c6 Allo the file fact scanner to take a list of paths instead of just one path 2015-06-03 11:36:50 -04:00
Matthew Jones 31d0342d41 More copyright headers for api side stuff 2015-05-29 12:10:40 -04:00
Matthew Jones b3da3b34a3 Changing some legal headers for python source files 2015-05-29 12:10:39 -04:00
James Laska 7064c9bed4 Additional flake8 cleanup
The flake8 command was identifying several warnings and errors. This change
addresses the flake8 warnings and updates the setup.cfg with additional
exclusions. If accepted, jenkins will be updated to use the flake8 command,
rather than using the django_jenkins plugin. This will expedite jenkins
testing.
2015-05-20 20:33:22 -04:00
Chris Meyers 6e0dd0dc59 fixed fact cache sender to work when gather_facts: false 2015-05-14 17:08:49 -04:00
Matthew Jones 2e040e9de3 Update scan facts to include the service scanner which was inexplicably
missing, update scan_packages to match the footprint of
scan_services (makes searching easier)
2015-05-05 14:46:28 -04:00
Matthew Jones 19901ba7cf Turns out "hostId" is not a good unique host identifier in openstack.
Switching to use "id" instead.
2015-04-23 16:02:44 -04:00
Matthew Jones 405be7edd8 Merge branch 'openstack_inventory_support' into upstream_master
* openstack_inventory_support:
  Use inventory_source source_vars to control what address we use for ansible_ssh_host
  Some small changes to tower openstack work
2015-04-23 11:09:41 -04:00
Chris Meyers 13aa8fce82 Merge pull request #147 from chrismeyersfsu/fix-azuer
handle shutdown azure instances
2015-04-23 10:06:26 -04:00
Chris Meyers bbd1f41471 track azure vm by unique identifier 2015-04-22 07:05:36 -04:00
Chris Meyers 754b004c24 add instance state 2015-04-21 17:43:54 -04:00
Chris Meyers f2b58af125 prefer port with name SSH but don't require it 2015-04-20 15:39:21 -04:00
Matthew Jones f45d75c06c Some small changes to tower openstack work
1) Favor private addresses in the openstack inventory sync
2) Force refresh
3) use hostId and promote it to the top level vars object so we can
track individual host changes
2015-04-20 15:11:06 -04:00
James Laska 86cb23117f Resolve pycrypto gce failure on EL6 systems
Tracking upstream change https://github.com/ansible/ansible/pull/10787
2015-04-20 13:19:49 -04:00
Chris Meyers 48c194f2a9 handle shutdown azure instances 2015-04-16 18:06:55 -04:00
Matthew Jones 6c5fd93ce5 Merge pull request #137 from matburt/openstack_inventory_support
Openstack inventory support
2015-04-14 12:43:20 -04:00
Matthew Jones 6525120c15 model and task support for launching openstack inventory updates 2015-04-13 15:05:58 -04:00
Matthew Jones c1dc55fceb Merging chrismeyers's openstack work branch changes to the core
openstack module.  Adding python-netifaces dependency for setup packaging
2015-04-13 11:47:18 -04:00
Chris Church 8beed7f409 Disable ControlPersist for ad hoc commands, should avoid any issues with proot or needing to clean up sockets afterwards. 2015-04-09 10:32:24 -04:00
Matthew Jones 2163ce14b6 Import openclient module, example config and vendored dependent modules,
updated vendored modules readme
2015-04-07 14:24:39 -04:00
Chris Meyers c03cef022d Implemented fact scan storage logic.
* added mongo connection logic
* added mongo dbtransform logic to allow keys with . and $
* altered tower fact scanner CacheModule to emit a message for each fact module facts (including ansible facts). Previously, seperate facts module facts were getting concatenated to each subsequent emi
* tower fact scanner CacheModule timeout set as to not hang for forever
* broke apart commands.py test
* added unit test for run_fact_cache_receiver, facts, and dbtransform
2015-04-07 09:50:35 -04:00
Matthew Jones 39d0f91fdb Merge pull request #117 from matburt/scan_files_implementation
Scan files implementation
2015-04-03 15:37:34 -04:00
Chris Church 22e0c9449b Update EC2/GCE inventory scripts from core. 2015-04-03 00:30:58 -04:00
Chris Church 18e38707c2 Add callback methods for v2 support. Closes #115. 2015-04-03 00:06:49 -04:00