Avoind using lookup() in documentation
lookup() is currently broken (current Ansible devel branch), so better to avoid it in our examples.pull/4420/head
parent
8d91c3a61a
commit
c1d7678cc2
|
@ -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 New Issue