community.general/lib/ansible/modules/cloud/google
Tom Melendez d09ad82e71 Add regex support to gce_tag module, add unit tests and update integration test. (#19087)
The gce_tag module can support updating tags on multiple instances via an instance_pattern field.  Full Python regex is supported in the instance_pattern field.

'instance_pattern' and 'instance_name' are mutually exclusive and one must be specified.

The integration test for the gce_tag module has been updated to support the instance_pattern parameter.  Unit tests have been added to test the list-manipulation functionality.

Run the integration test with:

TEST_FLAGS='--tags "test_gce_tag"' make gce

Run the unit tests with:

python test/units/modules/cloud/google/test_gce_tag.py
2016-12-29 08:45:20 -05:00
..
__init__.py added __init__.py to new cloud subcategories so builds work again 2016-12-08 11:22:25 -05:00
gc_storage.py Fix differences with devel. 2016-12-08 11:35:21 -05:00
gcdns_record.py Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
gcdns_zone.py Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
gce.py Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
gce_img.py Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
gce_lb.py Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
gce_mig.py Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
gce_net.py Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
gce_pd.py Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
gce_tag.py Add regex support to gce_tag module, add unit tests and update integration test. (#19087) 2016-12-29 08:45:20 -05:00