ansible/test/integration/roles
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
..
ec2_elb_instance_setup
ec2_provision_instances
prepare_rax_tests/defaults
prepare_tests/tasks
setup_ec2
test_azure
test_cloudflare_dns
test_consul_acl/tasks
test_consul_inventory/tasks
test_consul_kv/tasks
test_consul_service/tasks
test_consul_session/tasks
test_cs_account
test_cs_affinitygroup
test_cs_cluster
test_cs_common/defaults
test_cs_configuration
test_cs_domain
test_cs_firewall
test_cs_instance
test_cs_instance_facts
test_cs_instancegroup
test_cs_iso
test_cs_loadbalancer_rule
test_cs_pod
test_cs_portforward
test_cs_project
test_cs_resourcelimit
test_cs_securitygroup
test_cs_securitygroup_rule
test_cs_sshkeypair
test_cs_user
test_cs_vmsnapshot
test_cs_volume
test_ec2
test_ec2_ami
test_ec2_asg/tasks
test_ec2_eip
test_ec2_elb
test_ec2_elb_lb
test_ec2_facts
test_ec2_group
test_ec2_key
test_ec2_tag
test_ec2_vol
test_ec2_vpc
test_ec2_vpc_nat_gateway
test_exoscale_dns
test_gcdns
test_gce
test_gce_mig
test_gce_pd
test_gce_tag
test_jenkins_job
test_rax
test_rax_cbs
test_rax_cbs_attachments
test_rax_cdb
test_rax_cdb_database
test_rax_clb
test_rax_clb_nodes
test_rax_facts
test_rax_identity
test_rax_keypair
test_rax_meta
test_rax_network
test_rax_scaling_group