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 = '''
|
EXAMPLES = '''
|
||||||
- name: register nginx service with the local consul agent
|
- name: register nginx service with the local consul agent
|
||||||
consul:
|
consul:
|
||||||
name: nginx
|
service_name: nginx
|
||||||
service_port: 80
|
service_port: 80
|
||||||
|
|
||||||
- name: register nginx service with curl check
|
- name: register nginx service with curl check
|
||||||
consul:
|
consul:
|
||||||
name: nginx
|
service_name: nginx
|
||||||
service_port: 80
|
service_port: 80
|
||||||
script: "curl http://localhost"
|
script: "curl http://localhost"
|
||||||
interval: 60s
|
interval: 60s
|
||||||
|
|
||||||
- name: register nginx with some service tags
|
- name: register nginx with some service tags
|
||||||
consul:
|
consul:
|
||||||
name: nginx
|
service_name: nginx
|
||||||
service_port: 80
|
service_port: 80
|
||||||
tags:
|
tags:
|
||||||
- prod
|
- prod
|
||||||
|
@ -153,7 +153,7 @@ EXAMPLES = '''
|
||||||
|
|
||||||
- name: remove nginx service
|
- name: remove nginx service
|
||||||
consul:
|
consul:
|
||||||
name: nginx
|
service_name: nginx
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: create a node level check to test disk usage
|
- name: create a node level check to test disk usage
|
||||||
|
|
Loading…
Reference in a new issue