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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content