Commit Graph

75 Commits

Author SHA1 Message Date
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 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
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Chris Church
58207b4a04 Update ec2 inventory from core. 2015-06-09 14:53:31 -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
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
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
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 Church
22e0c9449b Update EC2/GCE inventory scripts from core. 2015-04-03 00:30:58 -04:00
Chris Church
c903e64ad5 Remove tags, add group for templates to VMware inventory script. 2015-02-11 03:24:17 -05:00
Chris Church
2d6986bb53 Update EC2 inventory to include changes from ansible/devel, add tag_none to tags group, update vpc group naming to match ansible/devel. 2015-02-11 01:46:22 -05:00
Matthew Jones
a8c7b0dc41 Emit an error message if the host doesn't exist in azure 2015-01-19 12:04:58 -05:00
Matthew Jones
a7e6d62e2c Rename 'primaries' in windows azure to 'Cloud_services' per recommendation 2015-01-19 11:48:34 -05:00
Matthew Jones
a80c5196ad Modify the windows azure inventory script to import all of the instances
and create a new group to identify primary hosts
2015-01-19 10:27:56 -05:00
Chris Meyers
a6fdd9534e added ec2 tags_none grouping for hosts without tags 2015-01-16 10:15:23 -05:00
Matthew Jones
a5bc796518 Fix an issue where host could be None during an instance bootup process
thus causing an error in the inventory import
2015-01-12 13:56:31 -05:00
Matthew Jones
f01289642c Fix an issue where azure inventory plugin would throw an error if there
were no instances available
2015-01-12 13:54:20 -05:00
Chris Church
c72472fba9 Add back VPC grouping for RDS. 2015-01-09 03:00:25 -05:00
Chris Church
fd2cdd39b8 Remove group by VPC for RDS instances. 2015-01-09 02:31:41 -05:00
Chris Church
2f3d9e9f36 Handle/ignore poorly formatted EC2 instance filters. Fixes https://trello.com/c/YMtWTaW9, https://trello.com/c/laUovaOm and https://trello.com/c/Hu11HhC4 2014-12-02 23:56:35 -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
Chris Church
bb5dc1b9f9 Include core ec2 inventory changes from 4755bde28d 2014-11-20 10:11:29 -05:00
Matthew Jones
c85f4fbac0 Import rax module from ansible core 2014-11-17 15:20:46 -05: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
Chris Church
43f46f830f Update VMware inventory to better handle AttributeErrors. 2014-11-04 12:06:09 -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
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