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
commit c055340ecb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
126 changed files with 290 additions and 286 deletions

View file

@ -42,7 +42,7 @@ EXAMPLES = r'''
register: result
- name: Print value of failover IP 1.2.3.4 in case it is routed
debug:
ansible.builtin.debug:
msg: "1.2.3.4 routes to {{ result.value }}"
when: result.state == 'routed'
'''

View file

@ -164,7 +164,7 @@ EXAMPLES = r'''
action: discard
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result }}"
'''

View file

@ -64,7 +64,7 @@ EXAMPLES = r'''
server_ip: 1.2.3.4
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.firewall }}"
'''

View file

@ -26,7 +26,7 @@ EXAMPLES = '''
community.general.lldp:
- name: Print each switch/port
debug:
ansible.builtin.debug:
msg: "{{ lldp[item]['chassis']['name'] }} / {{ lldp[item]['port']['ifname'] }}"
with_items: "{{ lldp.keys() }}"

View file

@ -355,7 +355,7 @@ EXAMPLES = r'''
tasks:
- name: Install needed network manager libs
package:
ansible.builtin.package:
name:
- NetworkManager-libnm
- nm-connection-editor