Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - Return of job status options #28

Open
simon-mags opened this issue Jun 6, 2024 · 0 comments
Open

Question - Return of job status options #28

simon-mags opened this issue Jun 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@simon-mags
Copy link

When using this new terraform provider for aap and using it specifically to kick off a new job_template within AAP to run, is there options to get the status of the job back to the terraform job run?

We really just want to get the success, failure, or other status, preferably with job output sent back to terrafrorm, or at least error output on failures.

This may already be an option and I've just missed something in the documentation around it.

`provider "aap" {
host = "https://aap.test/"
username = "test"
password = "password"

resource "aap_job" "my_job" {
job_template_id = 4
inventory_id = 1
extra_vars = {
ansible_ssh_user = "user"
}
}

output "agent_installer" {
value = aap_job.my_job.result
}`

Thanks

@gravesm gravesm added the enhancement New feature or request label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants