This repo is a simple library that contains some functions to integrate with AWX - upstream project of Ansible Automation Platform ex Ansible Tower.
def (organizationListCode, organizationID) = tower.performGetResourceID({
->
return aapcli.getOrganizationList()
},
env.TOWER_ORGANIZATION_ID,
" Organization + ${env.TOWER_ORGANIZATION_ID} not found "
)
If you want you can integrate this functions into your Jenkins shared library.
This repository facilitates integration between a Jenkins CI/CD stack and infrastructure managed as code using Ansible (CasC).