Debian Codegraph @

ansible_collections/community/aws/tests/integration/targets/elb_instance/tasks/setup_elbs.yml

raw
1 ---
2
3 - name: Create a private load balancer with 1 AZ enabled
4 elb_classic_lb:
5 name: "{{ elb_name_1 }}"
6 state: present
7 scheme: 'internal'
8 subnets: ['{{ subnet_a }}']
9 listeners: '{{ elb_listeners }}'
10 wait: true
11 health_check:
12 ping_protocol: TCP
13 ping_port: 22
14 healthy_threshold: 2
15 unhealthy_threshold: 2
16 interval: 5
17 timeout: 2
18 register: result
19
20 - name: Create a private load balancer with 2 AZs enabled
21 elb_classic_lb:
22 name: "{{ elb_name_2 }}"
23 state: present
24 scheme: 'internal'
25 subnets: ['{{ subnet_a }}', '{{ subnet_b }}']
26 listeners: '{{ elb_listeners }}'
27 wait: true
28 health_check:
29 ping_protocol: TCP
30 ping_port: 22
31 healthy_threshold: 2
32 unhealthy_threshold: 2
33 interval: 5
34 timeout: 2
35 register: result