ABond
5d26477b94
DigitalOcean - Fix TypeError when users have tags named the same as droplets ( #41368 )
...
* Fix TypeError when users have tags named the same as droplets
* Updated code based on review comments
2018-06-15 16:27:50 +05:30
ABond
2940b9d5bb
Removed sort from json dump since response is a mix of strings and integers ( #34217 )
2018-02-10 07:52:10 +05:30
Simon Wydooghe
c119f6e642
Add 'digital_ocean' as group ( #21631 )
2018-02-10 07:48:03 +05:30
Sam Edwards
a1639abd71
Fix Digital Ocean inventory script pagination handling ( #35153 )
2018-01-23 19:29:50 +05:30
Abhijeet Kasurde
ebd6db7a1c
Digital Ocean Inventory refactor ( #29176 )
...
* Remove 'dopy' dependency
* Update documentation
* Incorporate BondAnthony's IP address related code
* Incorporate andrewsomething's Pagination code
* Add Tags support
Fixes : #15752
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-09 11:27:18 +05:30
Matt Clay
e45c763b64
Fix invalid string escape sequences.
2017-11-21 10:03:34 -08:00
Will Weber
bfbdb3f3f0
assumption made that dopy only dep in dopy ( #27536 )
2017-08-03 13:44:07 -07:00
loqutus
8edcef7a84
fix comment in inventory/digital_ocean.py ( #25828 )
2017-06-18 10:51:42 +02:00
James Elford
bc9dbf38b0
python 3 compatibility: import guard around ConfigParser
...
In python3 `ConfigParser` has become `configparser`. Added
an import guard that aliases it back to the old name.
2017-06-03 13:56:10 -07:00
Jorge Quintás
d3c94e82a5
take into account if cache file exists when loading data from digitalocean even with --force-cache
2017-05-17 10:45:54 -04:00
Matt Martz
d3249e7875
pep8 fixes for contrib ( #24344 )
2017-05-09 16:38:08 -05:00
Matt Martz
5942de603d
Legacy pep8 clean fixes for contrib and hacking ( #21081 )
2017-02-07 09:49:55 -06:00
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
2017-01-29 07:28:53 +00:00
Art Matsak
e4c1eff52e
Register host variables for the DigitalOcean dynamic inventory
2017-01-06 12:00:15 -05:00
Thomas Sjögren
b35d4d7a19
add tag grouping
...
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2016-10-24 20:24:00 -04:00
Thomas Sjögren
d24bf49d3f
typo, do_tags, do_volume_ids
...
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2016-10-24 20:23:16 -04:00
Daniel Yates
39e86ae2bc
Correctly read use_private_network as boolean
...
This fixes the use of public IPs in the discovered hosts by
ensuring that the use_private_network check doesn't always evaluate
to False if the associated .ini file specifies this option.
2016-10-23 13:16:29 +02:00
Adrian Likins
57a911e098
Use sys.exit(msg) i/o print() and sys.exit() ( #15465 )
...
Any non-0 exits should be showing an error message
to stderr instead of to stdout.
2016-08-23 11:09:23 -04:00
Adam Thomas
27d0fe8d49
The output of the digital ocean script was invalid for ID and droplet name groups. Hosts is now an array of strings rather than a string for these groups. ( #16297 )
2016-06-15 09:49:14 -04:00
Brian Coca
3121e352f7
fixed group assignment in DO inventory ( #16102 )
...
* fixed group assignment in DO inventory
* changed sets to lists as we are appending dicts
* deeper fix as original data structure was flawed
2016-06-03 15:13:13 -04:00
William Durand
369cb8fa9f
[contrib] Add option to define group vars in DigitalOcean dynamic inventory script
2016-02-14 17:04:26 +01:00
jamarzka
eddfc649de
Added an option to use the private network IP address
...
This option defaults to disabled and can be set from the digital_ocean.ini file.
2015-10-02 19:16:44 -04:00
Marius Gedminas
3f9879aedb
Use print() as function under contrib/
...
This fixes the remaining Python 3 syntax errors, so re-enable compileall
for contrib/ again.
2015-08-28 09:18:13 +03:00
Marius Gedminas
9ae66a7f5c
Use 'except ... as' syntax in contrib/ and test/ too
2015-08-27 22:15:57 +03:00
Marcos Garcia
7bd1749f48
Bug #11830 , keep working even if we use private_networking
2015-08-01 23:21:20 -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
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