Container/EE Size per Playbook

,

Hi All,

Is there a way to define container/EE size for templates.
For example I want one playbook to use a EE/container with say 1 vcpu 512 MB RAM and for another it could be 2 vcpu and 1 GB RAM.
The reason I am asking this is because one playbook was quite fast when running on Ansible core compared to the evaluation edition of AAP.

Thanks in anticipation.

Warm Regards,
Abhi

Hi,

If you are on k8s / openshift:

you can create your own container groups that have custom pod specs. These pod specs can set limits/requests to allow for more resources as jobs run on them.

see these docs for adding custom pod spec to a container group https://docs.ansible.com/automation-controller/4.3/html/administration/containers_instance_groups.html#customize-the-pod-spec

If you are using VM AAP installer:

You can have execution nodes with different CPU and RAM resources available. Then you can assign these execution nodes to different instance groups (for example a “big” instance group, and “small” instance group).

Then you can assign job templates to use whatever instance groups (or container groups) you create.

Can you provide more details about the playbook that runs faster on core vs AAP? how many hosts? Where is it being slow – is it slow to start up (i.e. slow to get first stdout) or slow to run the entire playbook? How much slower is it exactly?

AWX Team