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

12 lines
293 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