From 43518a93f5a0aae3f9ca876b81ff3a08f4fbd910 Mon Sep 17 00:00:00 2001 From: Leonid Evdokimov Date: Wed, 18 Jun 2014 19:21:26 +0400 Subject: [PATCH] complex_args: update example for ansbile-1.7 $ is obsolete and fails to work with ansible-playbook 1.7 (devel 6bc056e012) --- language_features/complex_args.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/language_features/complex_args.yml b/language_features/complex_args.yml index 03742d0..3fdc954 100644 --- a/language_features/complex_args.yml +++ b/language_features/complex_args.yml @@ -40,11 +40,8 @@ - name: can we make that cleaner? sure! action: ping - args: { data: $complex } + args: { data: "{{ complex }}" } - name: here is an example of how it works with defaults, notice the key=value format wins action: service name=httpd state=running - args: $defaults - - - + args: defaults