1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

tower_credential: ssh_key_data isn't a path anymore (#57113)

This commit is contained in:
Pilou 2019-05-29 16:15:45 +00:00 committed by Alicia Cozine
parent 8043940c93
commit e5b2e4c1ac

View file

@ -168,7 +168,7 @@ EXAMPLES = '''
- name: Add Credential Into Tower
tower_credential:
name: Workshop Credential
ssh_key_data: "/home/{{ansible_user}}/.ssh/aws-private.pem"
ssh_key_data: "{{ lookup('file', '/home/' ~ {{ansible_user}} ~ '/.ssh/aws-private.pem') }}"
kind: ssh
organization: Default
tower_username: admin