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

@ -78,19 +78,19 @@ DOCUMENTATION = '''
'''
EXAMPLES = """
- debug:
- ansible.builtin.debug:
msg: 'key contains {{item}}'
with_consul_kv:
- 'key/to/retrieve'
- name: Parameters can be provided after the key be more specific about what to retrieve
debug:
ansible.builtin.debug:
msg: 'key contains {{item}}'
with_consul_kv:
- 'key/to recurse=true token=E6C060A9-26FB-407A-B83E-12DDAFCB4D98'
- name: retrieving a KV from a remote cluster on non default port
debug:
ansible.builtin.debug:
msg: "{{ lookup('consul_kv', 'my/key', host='10.10.10.10', port='2000') }}"
"""