1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Unquote strings that do not need quotes and retab - clustering/consul.py (#18834)

This commit is contained in:
Fabio Alessandro Locati 2016-12-09 13:49:43 +00:00 committed by John R Barker
parent b811350f00
commit ee27c688fd

View file

@ -181,7 +181,7 @@ EXAMPLES = '''
consul:
service_name: nginx
service_port: 80
script: "curl http://localhost"
script: curl http://localhost
interval: 60s
- name: register nginx with an http check
@ -189,7 +189,7 @@ EXAMPLES = '''
service_name: nginx
service_port: 80
interval: 60s
http: "http://localhost:80/status"
http: http://localhost:80/status
- name: register external service nginx available at 10.1.5.23
consul:
@ -214,7 +214,7 @@ EXAMPLES = '''
consul:
check_name: Disk usage
check_id: disk_usage
script: "/opt/disk_usage.py"
script: /opt/disk_usage.py
interval: 5m
- name: register an http check against a service that's already registered
@ -223,8 +223,7 @@ EXAMPLES = '''
check_id: nginx-check2
service_id: nginx
interval: 60s
http: "http://localhost:80/morestatus"
http: http://localhost:80/morestatus
'''
try: