From e01cdf876c6627b99b528118a22489d8dfc05742 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 1 Jun 2013 18:40:04 -0400 Subject: [PATCH] Docs standardization --- library/utilities/set_fact | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/library/utilities/set_fact b/library/utilities/set_fact index 3ac01a778c..a02c7f5537 100644 --- a/library/utilities/set_fact +++ b/library/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 }}" +'''