-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.yml
More file actions
executable file
·29 lines (28 loc) · 766 Bytes
/
test.yml
File metadata and controls
executable file
·29 lines (28 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
# test file
- hosts: servers
roles:
- role: ansible-role-haproxy
haproxy_stats:
name: 'global_monitor'
ip: "{{ ansible_default_ipv4.address }}"
port: '38888'
stats:
enabled: True
hide_version: true
uri: /slb_stats_url
realm: Welcome\ to\ slb\ monitor
auth: admin:admin
refresh: 2s
haproxy_frontends:
- name: 'fe-testsite'
ip: '{{ ansible_default_ipv4.address }}'
port: '80'
maxconn: '1000'
default_backend: 'be-testsite'
haproxy_backends:
- name: 'be-testsite'
description: 'testsite'
servers:
- name: 'be-testsite-01'
ip: '192.168.1.100'