fixed option in examples
This commit is contained in:
parent
51bb65c9a3
commit
15480e3d04
1 changed files with 4 additions and 4 deletions
|
@ -133,19 +133,19 @@ options:
|
|||
EXAMPLES = '''
|
||||
- name: register nginx service with the local consul agent
|
||||
consul:
|
||||
name: nginx
|
||||
service_name: nginx
|
||||
service_port: 80
|
||||
|
||||
- name: register nginx service with curl check
|
||||
consul:
|
||||
name: nginx
|
||||
service_name: nginx
|
||||
service_port: 80
|
||||
script: "curl http://localhost"
|
||||
interval: 60s
|
||||
|
||||
- name: register nginx with some service tags
|
||||
consul:
|
||||
name: nginx
|
||||
service_name: nginx
|
||||
service_port: 80
|
||||
tags:
|
||||
- prod
|
||||
|
@ -153,7 +153,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: remove nginx service
|
||||
consul:
|
||||
name: nginx
|
||||
service_name: nginx
|
||||
state: absent
|
||||
|
||||
- name: create a node level check to test disk usage
|
||||
|
|
Loading…
Reference in a new issue