summaryrefslogtreecommitdiff
path: root/test/integration/targets/elb_target/playbooks/version_fail.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/elb_target/playbooks/version_fail.yml')
-rw-r--r--test/integration/targets/elb_target/playbooks/version_fail.yml41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/integration/targets/elb_target/playbooks/version_fail.yml b/test/integration/targets/elb_target/playbooks/version_fail.yml
deleted file mode 100644
index 43cdba8500..0000000000
--- a/test/integration/targets/elb_target/playbooks/version_fail.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-- hosts: localhost
- connection: local
- environment: "{{ ansible_test.environment }}"
-
- tasks:
- - name: set up aws connection info
- module_defaults:
- group/aws:
- aws_access_key: "{{ aws_access_key }}"
- aws_secret_key: "{{ aws_secret_key }}"
- security_token: "{{ security_token | default(omit) }}"
- region: "{{ aws_region }}"
- block:
- - name: set up testing target group (type=ip)
- elb_target_group:
- state: present
- #name: "{{ resource_shortprefix }}-tg"
- name: "ansible-test-{{ resource_prefix | regex_search('([0-9]+)$') }}-tg"
- health_check_port: 80
- protocol: http
- port: 80
- vpc_id: 'vpc-abcd1234'
- target_type: ip
- tags:
- Description: "Created by {{ resource_prefix }}"
- register: elb_target_group_type_ip
- ignore_errors: yes
-
- - name: check that setting up target group with type=ip fails with friendly message
- assert:
- that:
- - elb_target_group_type_ip is failed
- - "'msg' in elb_target_group_type_ip"
-
- # In the off-chance that this went (partially) through when it shouldn't...
- always:
- - name: Remove testing target group (type=ip)
- elb_target_group:
- state: absent
- #name: "{{ resource_shortprefix }}-tg"
- name: "ansible-test-{{ resource_prefix | regex_search('([0-9]+)$') }}-tg"