Commit graph

18 commits

Author SHA1 Message Date
Tom Melendez
7c8d972d8f Added helper function and logic to sort attributes before comparing. 2016-07-13 19:56:43 +00:00
Tom Melendez
0f1c083d25 Allow GCE firewall rules to be updated when attributes changes. Fixes #2111.
Previously, when the attributes of a GCE firewall change, they were ignored.  This PR changes that behavior and now updates them.

Note that the "update" also removes attributes that are not specified.

An overview of the firewall rule behavior is as follows:

1. firewall name in GCP, state=absent in PLAYBOOK: Delete from GCP
2. firewall name in PLAYBOOK, not in GCP: Add to GCP.
3. firewall name in GCP, name not in PLAYBOOK: No change.
4. firewall names exist in both GCP and PLAYBOOK, attributes differ: Update GCP to match attributes from PLAYBOOK.
2016-07-13 19:54:15 +00:00
codemeup @ Work
d0a955452a Fixing gce compile time errors irt exception handling for Python 3 (#3845) 2016-06-03 06:35:34 -07:00
Vic Iglesias
5a0965cfcd Update GCE PEM deprecation text and examples 2015-12-23 11:37:12 -08:00
Vic Iglesias
6cbcb8f8ae Merge branch 'devel' of https://github.com/ansible/ansible-modules-core into HEAD 2015-12-21 12:20:50 -06:00
Vic Iglesias
ec178225b0 Use credentials_file for GCE module auth config 2015-12-21 12:09:29 -06:00
Jumpei Ogawa
7b4b61faff Add explanation in case that ipv4_range is required 2015-09-17 15:37:07 +09:00
Jumpei Ogawa
08b09fcc70 Add better error message when specified network doesn't exist and ipv4_range is not specified 2015-09-17 15:31:14 +09:00
Brian Coca
92199342cd Merge pull request #1429 from flyinprogrammer/devel
[gce] [gce_net] fix docs; only delete network if fwname is not provided
2015-07-21 18:42:53 -04:00
Greg DeKoenigsberg
28a869a030 Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
Alan Scherger
cc221aa1a2 fix docs; only delete network if fwname is not provided 2015-05-27 23:12:34 -05:00
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.
2015-05-11 12:15:53 -07:00
Pascal Borreli
f29a6ec54d Fixed typos 2015-05-04 12:54:03 +01:00
Robert Marsa
74e94f2712 Added multiple allowed ranges. 2015-03-17 13:49:53 -07:00
Robert Marsa
ea1122d49f Added target_tags to gce_module. 2015-02-12 10:01:41 -08:00
Vasyl Kaigorodov
c1eb7a4c1d gce_net - creating firewall rule, src_range value seems to get lost or set to empty string -- fixes #252 2015-01-06 20:44:09 +01:00
Adam Miller
01db13e3ad fix gce_net add firewall rule example 2014-11-13 15:27:10 -06:00
Brian Coca
0c4adcb2c6 made subcategories for cloud modules for better organization 2014-11-04 11:18:09 -05:00
Renamed from cloud/gce_net.py (Browse further)