mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 04:00:06 -03:30
tower_credential: ssh_key_data isn't a path anymore (#57113)
This commit is contained in:
@@ -168,7 +168,7 @@ EXAMPLES = '''
|
|||||||
- name: Add Credential Into Tower
|
- name: Add Credential Into Tower
|
||||||
tower_credential:
|
tower_credential:
|
||||||
name: Workshop 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
|
kind: ssh
|
||||||
organization: Default
|
organization: Default
|
||||||
tower_username: admin
|
tower_username: admin
|
||||||
|
|||||||
Reference in New Issue
Block a user