diff options
author | Mark Chappell <mchappel@redhat.com> | 2019-11-14 21:36:42 +0100 |
---|---|---|
committer | Jill R <4121322+jillr@users.noreply.github.com> | 2019-11-14 21:36:42 +0100 |
commit | 551b17b8a24e0dc311782bb5bc4ad545e0804f78 (patch) | |
tree | f9c483e77e81fb5f5bc503c57eb3c54e65438e52 /test/integration/targets/ec2_vpc_net/defaults | |
parent | Default to python3 on Debian 10 (#63097) (diff) | |
download | ansible-551b17b8a24e0dc311782bb5bc4ad545e0804f78.tar.xz ansible-551b17b8a24e0dc311782bb5bc4ad545e0804f78.zip |
ec2_vpc_net_info: integration tests (#62649)
* ec2_vpc_net: (integration tests) migrate to using module_defaults
* ec2_vpc_net: (integration tests) use a private subnet for the tests
* ec2_vpc_net_info: Add integration tests
* ec2_vpc_net_info: add cidr_block_association_set to documentation
* Update AWS hacking test policy to allow VPC CIDR disassociation
* Update test/integration/targets/ec2_vpc_net/tasks/main.yml
Co-Authored-By: Jill R <4121322+jillr@users.noreply.github.com>
* Store vpc2 ID to make it clearer which VPC we're changing
* Be more consistent with our quoting
* Explicitly test that the VPC IDs haven't changed
Diffstat (limited to 'test/integration/targets/ec2_vpc_net/defaults')
-rw-r--r-- | test/integration/targets/ec2_vpc_net/defaults/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/targets/ec2_vpc_net/defaults/main.yml b/test/integration/targets/ec2_vpc_net/defaults/main.yml index 16079778d8..3289b27835 100644 --- a/test/integration/targets/ec2_vpc_net/defaults/main.yml +++ b/test/integration/targets/ec2_vpc_net/defaults/main.yml @@ -1,2 +1,5 @@ --- # defaults file for ec2_vpc_net +vpc_cidr: '10.{{ 256 | random(seed=resource_prefix) }}.0.0/24' +vpc_cidr_a: '10.{{ 256 | random(seed=resource_prefix) }}.1.0/24' +vpc_cidr_b: '10.{{ 256 | random(seed=resource_prefix) }}.2.0/24' |