From e320616974d5d877bf6969e671e9b55cf7740385 Mon Sep 17 00:00:00 2001 From: Stoned Elipot Date: Thu, 16 May 2013 17:13:18 +0200 Subject: [PATCH] Fix empty requirements specifications in modules documentation And also be liberal in what ansible-doc accepts as an empty requirements specification. While here fix a typo in template module documentation wrt jinja2 overrides example. --- files/template | 4 ++-- utilities/wait_for | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/template b/files/template index 5ed76d0abe4..b7133dc2c78 100644 --- a/files/template +++ b/files/template @@ -53,7 +53,7 @@ examples: notes: - Since Ansible version 0.9, templates are loaded with C(trim_blocks=True). - 'You can override jinja2 settings by adding a special header to template file. - i.e. c(#jinja2: trim_blocks: False)' -requirements: null + i.e. C(#jinja2: trim_blocks: False)' +requirements: [] author: Michael DeHaan ''' diff --git a/utilities/wait_for b/utilities/wait_for index b41b2a3ae2b..00ee901d3a9 100644 --- a/utilities/wait_for +++ b/utilities/wait_for @@ -64,7 +64,7 @@ examples: - code: "wait_for: port=8000 delay=10" description: "Example from Ansible Playbooks" notes: [] -requirements: null +requirements: [] author: Jeroen Hoekx '''