summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Guerri <davide.guerri@gmail.com>2015-06-04 19:30:34 +0100
committerMonty Taylor <mordred@inaugust.com>2015-06-18 08:01:27 -0400
commit82dc5c4394ab88e055debed6b0d7d397f11638d7 (patch)
tree8b81d277ca3767a29ad3ffed66da57709f099a4a
parenta226701efe836e3c288a1624dfd820928dcd0c16 (diff)
downloadansible-modules-core-82dc5c4394ab88e055debed6b0d7d397f11638d7.tar.gz
Avoind using lookup() in documentation
lookup() is currently broken (current Ansible devel branch), so better to avoid it in our examples.
-rw-r--r--cloud/openstack/os_keypair.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/openstack/os_keypair.py b/cloud/openstack/os_keypair.py
index c4725552..c6794b47 100644
--- a/cloud/openstack/os_keypair.py
+++ b/cloud/openstack/os_keypair.py
@@ -63,7 +63,7 @@ EXAMPLES = '''
cloud: mordred
state: present
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.
- os_keypair: