From 2438ef474ae3910b6b790db4f4bf5ba2adaa1d0e Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 1 Jun 2013 18:40:04 -0400 Subject: [PATCH] Docs standardization --- utilities/set_fact | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/utilities/set_fact b/utilities/set_fact index 3ac01a778c6..a02c7f55376 100644 --- a/utilities/set_fact +++ b/utilities/set_fact @@ -36,16 +36,16 @@ options: required: true default: null version_added: "1.2" -examples: - - description: "Example setting host facts using key=value pairs" - code: | - action: set_fact one_fact="something" other_fact="{{ local_var * 2 }}"' - - description: "Example setting host facts using complex arguments" - code: | - action: set_fact - args: - one_fact: something - other_fact: "{{ local_var * 2 }}" notes: - You can set play variables using the C(set_var) module. ''' + +EXAMPLES = ''' +# Example setting host facts using key=value pairs +set_fact: one_fact="something" other_fact="{{ local_var * 2 }}" + +# Example setting host facts using complex arguments +set_fact: + one_fact: something + other_fact: "{{ local_var * 2 }}" +'''