Hi all,
maybe a silly question. I am studing for the EX467 exam and I have a question that I can't find an answer to in the documentation or even by searching online.
How do I set the default execution environment in AAP2, the one used by default when not specified individually in job templates?
Regards,
Luca B.
This can be a loaded question as you can setup default execution environments in a couple of places ...
Administration => Execution Environments => Default Execution Environment (Give it the image you want)
Project Level
When creating a project, you can select an Execution Environment there, so if a Job Template doesn't override, any Job Templates created from playbooks in the project will have that as a default execution environment.
Finally, you can configure a Global Default Execution Environment in Settings => Miscellaneous System Settings
@Savonarola Refer here Global default execution environment : https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/configuring_au...
https://docs.ansible.com/automation-controller/4.5/html_ko/userguide/execution_environments.html
Set the default EE under Automation Controller Settings → Execution Environments → Global Default Execution Environment to use it cluster-wide unless overridden by job templates.
I answered in the way I did because you can specify default execution environments at different levels within automation controller and the question was very open ended.So I provided a few methods of setting these.
I also missed one of the most important things is that it can be set for the Organization level. This can be done if you have an Enterprise AAP setup where you are supporting multiple groups and organizations and you wouldn't want to set things globally. Again, as with all things Ansible ... the more specific or more narrowly scoped setting wins.
Access => Organizations => Edit (organization name) and then select the Execution Environment.
right @Travis , thanks for the expert tip!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.