Improve examples: use FQCNs and always add name: to tasks (#624)

* Improve examples: use FQCNs and always add name: to tasks.

* Improvements.

Co-authored-by: Don Naro <dnaro@redhat.com>

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
This commit is contained in:
Felix Fontein
2023-05-15 21:41:58 +02:00
committed by GitHub
parent 245ab76b09
commit 7bdb2127e0
4 changed files with 40 additions and 23 deletions
+2 -2
View File
@@ -113,7 +113,7 @@ EXAMPLES = '''
register: result
- name: Print stdout
debug:
ansible.builtin.debug:
var: result.stdout
- name: Run a simple command (argv)
@@ -127,7 +127,7 @@ EXAMPLES = '''
register: result
- name: Print stderr lines
debug:
ansible.builtin.debug:
var: result.stderr_lines
'''