mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 11:34:15 -07:00
Show more whitespace throughout playbook examples to encourage better standards in first playbooks folks write.
This commit is contained in:
parent
4b281ca5c7
commit
a6b4b9a751
8 changed files with 53 additions and 6 deletions
|
@ -21,7 +21,9 @@ Contents can be read off the filesystem as follows::
|
|||
- hosts: all
|
||||
vars:
|
||||
contents: "{{ lookup('file', '/etc/foo.txt') }}"
|
||||
|
||||
tasks:
|
||||
|
||||
- debug: msg="the value of foo.txt is {{ contents }}"
|
||||
|
||||
.. _password_lookup:
|
||||
|
@ -128,6 +130,7 @@ template)::
|
|||
motd_value: "{{ lookup('file', '/etc/motd') }}"
|
||||
|
||||
tasks:
|
||||
|
||||
- debug: msg="motd value is {{ motd_value }}"
|
||||
|
||||
.. seealso::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue