From f5da520bbb021587bf2e18a8ad6f53692eaedb92 Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Tue, 6 Dec 2016 22:21:19 +0000 Subject: [PATCH] Consistency in space between parenthesys (#18796) --- lib/ansible/modules/files/blockinfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/files/blockinfile.py b/lib/ansible/modules/files/blockinfile.py index ec85c078822..1160d65cf4e 100755 --- a/lib/ansible/modules/files/blockinfile.py +++ b/lib/ansible/modules/files/blockinfile.py @@ -129,8 +129,8 @@ EXAMPLES = r""" marker: "" insertafter: "" content: | -

Welcome to {{ansible_hostname}}

-

Last updated on {{ansible_date_time.iso8601}}

+

Welcome to {{ ansible_hostname }}

+

Last updated on {{ ansible_date_time.iso8601 }}

- name: remove HTML as well as surrounding markers blockinfile: @@ -142,8 +142,8 @@ EXAMPLES = r""" blockinfile: dest: /etc/hosts block: | - {{item.ip}} {{item.name}} - marker: "# {mark} ANSIBLE MANAGED BLOCK {{item.name}}" + {{ item.ip }} {{ item.name }} + marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.name }}" with_items: - { name: host1, ip: 10.10.1.10 } - { name: host2, ip: 10.10.1.11 }