update deploy role for new awx token authentication method
This commit is contained in:
9
roles/matrix-awx/tasks/create_session_token.yml
Normal file
9
roles/matrix-awx/tasks/create_session_token.yml
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
- name: Create a AWX session token for executing modules
|
||||
awx.awx.tower_token:
|
||||
description: 'AWX Session Token'
|
||||
scope: "write"
|
||||
state: present
|
||||
tower_host: "https://{{ awx_host }}"
|
||||
tower_oauthtoken: "{{ awx_master_token }}"
|
||||
register: awx_session_token
|
Reference in New Issue
Block a user