modules: fix examples to use FQCN for builtin modules (#648)

* modules: fix examples to use FQCN for builtin modules

* fix

* fix

* fix

* fix

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov
2020-07-14 18:28:08 +03:00
committed by GitHub
parent c034e8c04f
commit c055340ecb
126 changed files with 290 additions and 286 deletions

View File

@@ -82,7 +82,7 @@ EXAMPLES = r'''
register: users
delegate_to: localhost
- debug:
- ansible.builtin.debug:
msg: 'User {{ users.dict.dag.name }} has UID {{ users.dict.dag.uid }} and GID {{ users.dict.dag.gid }}'
# Read a CSV file and access the first item
@@ -92,7 +92,7 @@ EXAMPLES = r'''
register: users
delegate_to: localhost
- debug:
- ansible.builtin.debug:
msg: 'User {{ users.list.1.name }} has UID {{ users.list.1.uid }} and GID {{ users.list.1.gid }}'
# Example CSV file without header and semi-colon delimiter

View File

@@ -195,7 +195,7 @@ EXAMPLES = r'''
count: yes
register: hits
- debug:
- ansible.builtin.debug:
var: hits.count
# Example where parent XML nodes are created automatically
@@ -251,7 +251,7 @@ EXAMPLES = r'''
register: xmlresp
- name: Show an attribute value
debug:
ansible.builtin.debug:
var: xmlresp.matches[0].validxhtml.validatedon
- name: Remove all children from the 'website' element (option 1)