Set up AAP integration¶
This recipe walks through integrating DirQ with Ansible Automation Platform (AAP).
Collection¶
cd collection/atgreen/dirq
ansible-galaxy collection build
ansible-galaxy collection install atgreen-dirq-1.0.0.tar.gz
Includes: atgreen.dirq.dirq inventory plugin + connection plugin.
Execution Environment¶
Credential Type¶
Import from collection/atgreen/dirq/docs/aap-credential-type.yml or create manually. Injects DIRQ_SERVER_URL and DIRQ_TOKEN as environment variables.
Setup Checklist¶
- Build and publish the
atgreen.dirqcollection - Build a custom EE and push to your registry
- Import the DirQ credential type in AAP
- Create DirQ credentials (one per DC if multi-DC)
- Add inventory sources using
atgreen.dirq.dirqplugin - Create job templates with
connection: atgreen.dirq.dirq - Attach DirQ credentials to job templates