From 7e08d0101066e4cc537e420e4af32b3a2b669c8f Mon Sep 17 00:00:00 2001 From: Hagai Kariti Date: Mon, 23 May 2016 10:29:26 +0300 Subject: [PATCH] bigpanda: Remove docs using complex args (#2275) As they're going to be deprecated, don't recommend using them. --- monitoring/bigpanda.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/monitoring/bigpanda.py b/monitoring/bigpanda.py index c045424569a..df8e55fd745 100644 --- a/monitoring/bigpanda.py +++ b/monitoring/bigpanda.py @@ -83,19 +83,11 @@ EXAMPLES = ''' ... - bigpanda: component=myapp version=1.3 token={{ bigpanda_token }} state=finished -or using a deployment object: -- bigpanda: component=myapp version=1.3 token={{ bigpanda_token }} state=started - register: deployment - -- bigpanda: state=finished - args: deployment - -If outside servers aren't reachable from your machine, use local_action and pass the hostname: -- local_action: bigpanda component=myapp version=1.3 hosts={{ansible_hostname}} token={{ bigpanda_token }} state=started +If outside servers aren't reachable from your machine, use local_action and override hosts: +- local_action: bigpanda component=myapp version=1.3 token={{ bigpanda_token }} hosts={{ansible_hostname}} state=started register: deployment ... -- local_action: bigpanda state=finished - args: deployment +- local_action: bigpanda component=deployment.component version=deployment.version token=deployment.token state=finished ''' # ===========================================