cancel
Showing results for 
Search instead for 
Did you mean: 
  • 141 Views

AAP2 default Execution Environment

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.

Labels (3)
4 Replies
Travis
Moderator
Moderator
  • 112 Views

@Savonarola -

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

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Chetan_Tiwary_
Community Manager
Community Manager
  • 91 Views

@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.

Travis
Moderator
Moderator
  • 73 Views

@Chetan_Tiwary_ -

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.

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Chetan_Tiwary_
Community Manager
Community Manager
  • 44 Views

right @Travis , thanks for the expert tip! 

0 Kudos
Join the discussion
You must log in to join this conversation.