Marius Gedminas
df1b41d3d3
Avoid types.NoneType
...
types.NoneType was removed in Python 3.
None is a singleton in Python, so 'x is None' is equivalent to
'isinstance(x, NoneType)'.
2015-08-27 22:15:56 +03:00
Marc Abramowitz
7bdc3cdb15
Add optional logging to consul_io inventory script
...
Configured with environment variables -- e.g.:
ANSIBLE_INVENTORY_CONSUL_IO_LOG_ENABLED=1 ANSIBLE_INVENTORY_CONSUL_IO_LOG_LEVEL=DEBUG /path/to/consul_io.py --list
This gives some verbose logging, including showing all HTTP requests being
made, which I am finding useful, as I am trying to improve the performance of
this script.
2015-08-26 10:57:26 -07:00
Brian Coca
86100da3a0
Merge pull request #11446 from cchurch/windows_azure_from_tower
...
Updates to Windows Azure inventory from Tower.
2015-08-18 15:35:51 -04:00
Brian Coca
1d402ae390
set script as executable
2015-08-17 13:42:16 -04:00
Tom Berger
8a61303c88
Move the cache file to ~/.ansible/tmp.
...
A future branch might make it configurable.
2015-08-11 18:47:32 +05:30
Tom Berger
07a4076d12
Name cache file by relevant regions - they might change between calls.
...
Also, use old school string interpolation so that the plugin is compatible with
Python < 2.7.
2015-08-11 18:47:32 +05:30
Tom Berger
cd1125aac2
Save the cache in a file specific to the RackSpace account in use.
2015-08-11 18:47:32 +05:30
Tom Berger
804489f734
Cache the results for the RackSpace dynamic inventory.
2015-08-11 18:47:32 +05:30
Chris Church
4ccdb81bf5
Updates to Windows Azure inventory script from Tower. Includes changes from https://github.com/ansible/ansible/pull/8403 .
2015-08-10 17:35:47 -04:00
Chris Church
da56312322
Openstack inventory updates from Tower. Includes changes from https://github.com/ansible/ansible/pull/10491 and https://github.com/ansible/ansible/pull/10776 .
2015-08-10 15:35:30 -04:00
James Cammarata
e2a8a68c85
Cleaning up some debugging/commented code from #11709
2015-08-07 00:28:54 -04:00
dmccue
54bab2c47e
fixed issues with output format and order key
2015-08-07 00:28:54 -04:00
dmccue
ba6b89a5b1
adjusted output behavior
2015-08-07 00:28:54 -04:00
dmccue
0ab970da98
support for _meta retrieval
2015-08-07 00:28:54 -04:00
Brian Coca
ebfd99e307
Merge pull request #8870 from photoninger/spacewalk_organizations
...
Add support for multiple organizations in spacewalk.
2015-08-07 00:00:23 -04:00
Marcos Garcia
7bd1749f48
Bug #11830 , keep working even if we use private_networking
2015-08-01 23:21:20 -04:00
Bernhard Lichtinger
aa1e00e8e7
Forgot to use commit -a to submit all changes...
2015-07-31 14:23:54 +02:00
Bernhard Lichtinger
38ff797d57
Added support for ini-file.
...
Added _meta dictionary with hostvars in --list json output.
2015-07-31 14:18:59 +02:00
Bernhard Lichtinger
13198c199e
Add support for multiple organizations in spacewalk.
2015-07-30 14:15:39 +02:00
Tomas Karasek
bb6a327c1b
fix ssh_config inventory plugin to work with paramiko 1.7.2 till 1.15.2
2015-07-29 16:58:16 +03:00
Brian Coca
b8336f222d
Merge pull request #11560 from oscarhealth/devel
...
ability to specify any combination of EC2 instance states to return
2015-07-28 21:11:30 -04:00
Brian Coca
d75b4cd190
Merge pull request #11006 from alexlo03/ec2_inventory_clear_errors
...
explain source of EC2 inventory error
2015-07-28 19:18:49 -04:00
Brian Coca
d276b69b2a
put proxmox inventory in correct dir and added to changelog
2015-07-28 18:38:23 -04:00
Andy Grimm
009d0a4bb4
Flexible tag-based naming for ec2 hosts
...
Introduces destination_format and destination_format_tags
to allow the construction of host names based on one or
more ec2 tags and a python format string.
2015-07-28 13:14:40 -04:00
Brian Coca
0c21196633
moved openvz inventory script to new home
2015-07-27 20:53:53 -04:00
Andrew Hamilton
7f45c9edf7
Have ec2.py expand tilde and vars when looking up the EC2_INI_PATH env variable
2015-07-26 12:57:56 +05:30
Igor Khomyakov
8113409d34
Refactored.
...
Paramiko module is used to parse ssh_config.
Added multi-vm support
Added "_meta" element https://docs.ansible.com/ansible/developing_inventory.html#tuning-the-external-inventory-script
2015-07-21 17:55:25 +03:00
Mathieu Lecarme
1873e8ed08
GCE tag prefix for creating ansible group.
2015-07-17 22:28:30 +02:00
Jens Carl
db4f6b8878
Fix to handle user directory correctly (e.g. ~/.ansible/tmp).
2015-07-16 19:56:21 +00:00
Alex Lo
7092021d81
simplify variable names
2015-07-13 23:51:23 -04:00
Alex Lo
17b94cf139
generalize error context reporting, add elasticache explanations
2015-07-13 23:46:33 -04:00
Alex Lo
610223fbf4
explain source of EC2 inventory error
...
https://github.com/ansible/ansible/issues/10840
before
RDS: `ERROR: Inventory script (ec2.py) had an execution error: Forbidden`
EC2: `ERROR: Inventory script (ec2.py) had an execution error: Error connecting to AWS backend.
You are not authorized to perform this operation.`
after
RDS: `ERROR: Inventory script (ec2.py) had an execution error: ERROR: "Forbidden", while: getting RDS instances`
EC2: `ERROR: Inventory script (ec2.py) had an execution error: ERROR: "Error connecting to AWS backend.
You are not authorized to perform this operation.", while: getting EC2 instances`
2015-07-13 23:23:54 -04:00
Jason Young
e0a5003b27
ability to specify any combination of EC2 instance states to return
2015-07-11 20:53:05 -04:00
Brian Coca
9c5a6d7b5a
fixed all references to old plugins/inventory to point at contrib/inventory
2015-07-10 13:00:12 -04:00
Carlos E. Garcia
657495d13f
minor spelling changes
2015-07-10 12:42:59 -04:00
Brian Coca
0bbf5927be
added executabel bit to nova and rax inventory plugins
2015-07-10 10:30:33 -04:00
Brian Coca
d0c6d2ff1c
poreted log_plays, syslog_json and osx_say callbacks to v2
...
renamed plugins to contrib (they are not really plugins)
rewrote README.md to reflect new usage
added new dir to setup.py so it gets copied with installation, in views
of making using inventory scripts easier in teh future
2015-07-10 10:30:33 -04:00
Jan-Piet Mens
2d4e5ced90
Move contrib to .rst off the main docsite
2012-10-25 14:14:34 +02:00
John Kleint
859a898df6
Update Hadoop contrib URL.
...
References issue #1380 .
2012-10-19 10:49:44 -04:00
Michael DeHaan
5a08da98a3
Update contrib/README.md
2012-10-18 21:58:17 -03:00
Michael DeHaan
79069827c2
add presentation
2012-10-10 19:50:47 -04:00
Michael DeHaan
6b0ef9fd26
Merge remote branch 'dagwieers/contrib-vsphere-boot' into devel
...
Conflicts:
contrib/README.md
2012-10-10 19:50:04 -04:00
Dag Wieers
0ebc46628a
Module vsphere_boot to boot VMWare virtual machine using specific media
2012-10-10 00:29:59 +02:00
Dag Wieers
e8b0b07311
Module network_facts to gather facts based on network information
2012-10-10 00:20:50 +02:00
Michael DeHaan
dd727ecebf
Update README
2012-10-08 08:06:48 -04:00
Michael DeHaan
2eac8c6c29
Merge ansible-resources tree
2012-10-08 07:48:07 -04:00