How do I Retrieve an Ansible Tower API authtoken to Execute API Tasks via an Ansible Playbook?

Solution Verified - Updated -

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.3
  • Ansible Engine >=2.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In