summaryrefslogtreecommitdiff
path: root/clustering/consul.py
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-10-12 18:20:01 -0400
committerBrian Coca <brian.coca+git@gmail.com>2015-10-12 18:20:23 -0400
commit15480e3d04f586645516b42863e2c05f55239488 (patch)
tree40acbd1caa9dc1a857f487b3affc1c7333a5e3a7 /clustering/consul.py
parent51bb65c9a344b1d9ab2067f0bb5dcb552763879e (diff)
downloadansible-modules-extras-15480e3d04f586645516b42863e2c05f55239488.tar.gz
fixed option in examples
Diffstat (limited to 'clustering/consul.py')
-rw-r--r--clustering/consul.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/clustering/consul.py b/clustering/consul.py
index f72fc6dd..af8aacf2 100644
--- a/clustering/consul.py
+++ b/clustering/consul.py
@@ -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