mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Avoind using lookup() in documentation
lookup() is currently broken (current Ansible devel branch), so better to avoid it in our examples.
This commit is contained in:
parent
8d91c3a61a
commit
c1d7678cc2
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ EXAMPLES = '''
|
||||||
cloud: mordred
|
cloud: mordred
|
||||||
state: present
|
state: present
|
||||||
name: ansible_key
|
name: ansible_key
|
||||||
public_key: "{{ lookup('file','~/.ssh/id_rsa.pub') }}"
|
public_key_file: ~/.ssh/id_rsa.pub
|
||||||
|
|
||||||
# Creates a new key pair and the private key returned after the run.
|
# Creates a new key pair and the private key returned after the run.
|
||||||
- os_keypair:
|
- os_keypair:
|
||||||
|
|
Loading…
Reference in a new issue