matrix-docker-ansible-deploy/roles/matrix-awx/tasks/create_session_token.yml
Michael Collins 40506d5c5a no log
2021-10-02 12:43:14 +08:00

11 lines
289 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
no_log: True