matrix-docker-ansible-deploy/roles/matrix-awx/tasks/create_session_token.yml

10 lines
274 B
YAML

- 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