How do I Retrieve an Ansible Tower API authtoken to Execute API Tasks via an Ansible Playbook?
Issue
I want to execute Ansible Tower API tasks from my playbook, but I would prefer to use an authtoken instead of username and password.
Environment
- Ansible Tower >= 3.0.x
- Ansible Engine >=2.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
