Commit Graph

46 Commits (f4bc59595c3078068bcf6b67bc7a3f43144f26be)

Author SHA1 Message Date
Brian Coca ad47bb91f1 Merge pull request #3132 from curious-eyes/fix-2761-gce-UnboundLocalError
Fix #2761: gce.py - UnboundLocalError: local variable 'md'
9 years ago
Tim Alkemade c0734fde79 GCE module does not fetch disk images if not necessary 9 years ago
curious-eyes 858a8b8e67 Fix #2761: gce.py - UnboundLocalError: local variable 'md' 9 years ago
Daniel Petty 4bdd755412 replaced sudo with become 9 years ago
daniel-sc 44af735ac4 Allowing specifying ip by address 9 years ago
daniel-sc a757af0264 Allowing to specify specific external ip for gce instances 9 years ago
Brian Coca 59f3b82898 Merge pull request #2633 from andmarios/devel
fix: don't set scopes' account to service account used for gce instance creation
9 years ago
Vic Iglesias 5a0965cfcd Update GCE PEM deprecation text and examples 9 years ago
Marios Andreopoulos d3ef2ef11f fix: do not set scopes account to service account used for instance creation 9 years ago
Vic Iglesias 6cbcb8f8ae Merge branch 'devel' of https://github.com/ansible/ansible-modules-core into HEAD 9 years ago
Vic Iglesias ec178225b0 Use credentials_file for GCE module auth config 9 years ago
Toshio Kuratomi fcb3397df7 Fix up documentation 9 years ago
Pedro Romano 1bd04f797e GCE libcloud 0.15 support and code cleanup
* Code formatting (indentation and white space) fixes for improved PEP8 conformity.
* Remove redundant backslashes inside parentheses.
* Test for object identity should be 'is not None'.
* Test for membership should be 'not in'.
* Fit docstring to the PEP8 79 character limit.
* Use forward compatible Python 2.6+ 'except .. as' syntax for exception handling.
* Support libcloud > 0.15 'metadata' argument format.
9 years ago
Jumpei Ogawa 7b4b61faff Add explanation in case that ipv4_range is required 9 years ago
Jumpei Ogawa 08b09fcc70 Add better error message when specified network doesn't exist and ipv4_range is not specified 9 years ago
Till Backhaus 39e7e05a8d Delete dead and broken code 9 years ago
Brian Coca 8227b48a6a minor doc fixes 9 years ago
khassen 5f2b365faa Use the common/shared MD5 function. 9 years ago
Brian Coca 92199342cd Merge pull request #1429 from flyinprogrammer/devel
[gce] [gce_net] fix docs; only delete network if fwname is not provided
9 years ago
Brian Coca 82f16f5a45 Merge pull request #1315 from HelenaTian/patch-1
Update gce.py to correctly handle propagated metadata type from a mot…
9 years ago
James Cammarata baff1bf7f0 Update choices and version_added for new gce.py param service_account_permissions 9 years ago
James Cammarata 5082a022ec Merge branch 'create-gce-instance-with-service-account-scopes' of https://github.com/br0ziliy/ansible-modules-core into br0ziliy-create-gce-instance-with-service-account-scopes 9 years ago
Greg DeKoenigsberg 28a869a030 Updating cloud modules with proper github author information 9 years ago
Alan Scherger cc221aa1a2 fix docs; only delete network if fwname is not provided 9 years ago
Vasyl Kaigorodov fa9727eb99 GCE module: added Service Account permissions sanity checks 10 years ago
Vasyl Kaigorodov f714cc5f7e GCE module: document Service Account permissions parameter usage 10 years ago
Vasyl Kaigorodov a0b57f3aab GCE module: add posibility to specify Service Account permissions during instance creation 10 years ago
HelenaTian f620a0ac41 Update gce.py to correctly handle propagated metadata type from a mother template
My project is using Ansible to automate cloud build process. Ansible has a core module gce.py for managing GCE instances. 
  We've come across a use case that's not yet supported - when executing ansible-playbook, if a child template is included, then metadata which is defined in and propagated from the mother template is treated as string type and not parsed correctly(which instead is dictionary type), and triggers release flow failure.
   We currently put some fix by explicitly casting metadata to string type in our own branch, but would like to contribute the fix to Ansible so that everyone onboarding GCE and using Ansible for release management could benefit from it, or hear owner's opinion on fixing the issue if there's a better fix in owner's mind:)
10 years ago
Toshio Kuratomi 60a66a544d Several cleanups to many modules:
* Fix docs to specify when python2.6+ is required (due to a library
  dep).  This helps us know when it is okay to use python2.6+ syntax in
  the file.
* remove BabyJson returns.  See #1211  This commit fixes all but the
  openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
  if the module is run as a program.  This allows for the potential to
  unittest the code later.
10 years ago
Pascal Borreli f29a6ec54d Fixed typos 10 years ago
Brian Coca 3b9756e0cd minor doc fixes 10 years ago
Matt Martz 1e94fc5ab5 Don't use a dict comprehension, be more verbose 10 years ago
Richard Tier 9aa8879f0f added version to docstring 10 years ago
Richard Tier 04c1927300 allow setting header 10 years ago
Robert Marsa 74e94f2712 Added multiple allowed ranges. 10 years ago
Lev Popov a15cce2d7f Allow to keep instance boot disk after instance deletion in google cloud module 10 years ago
Lev Popov 94c1b55744 Allow to spawn instances without external ip in google cloud module 10 years ago
Robert Marsa 584f210eea Added the ability to set an instance to forward ip. 10 years ago
Robert Marsa ea1122d49f Added target_tags to gce_module. 10 years ago
Peter Mooshammer 0c49d9f6c6 adding disk_type option to choose from pd-ssd or pd-standard 10 years ago
Vasyl Kaigorodov c1eb7a4c1d gce_net - creating firewall rule, src_range value seems to get lost or set to empty string -- fixes #252 10 years ago
Toshio Kuratomi f4625a3dd1 Fixup the directory name at a higher level so it can be used by both conditional branches
Fixes #500
10 years ago
Robert Estelle 4dd099fe7a Remove incorrect executable permissions. 10 years ago
Adam Miller 01db13e3ad fix gce_net add firewall rule example 10 years ago
Brian Coca 19ed60196c added __init__.py to new cloud subcategories so builds work again 10 years ago
Brian Coca 0c4adcb2c6 made subcategories for cloud modules for better organization 10 years ago