The dispatch role failes to create an organization if you assign an instance group to this organization that doesn't exist yet.
I experienced this issue when I tried to create an org and an instance group in the same run.
The playbook was executed in a gitlab pipeline. The runner image is based on alpine 3.18.
Desired Behavior
I'd expect the dispatch role to create the instance group before creating the organization. Or create the organization without the instance group first and then assign it after creating the instance group (same as the role does for ee).
Actual Behavior
The role fails because the instance group doesn't exist yet and therefore can't be assigned to the org.
Summary
The dispatch role failes to create an organization if you assign an instance group to this organization that doesn't exist yet. I experienced this issue when I tried to create an org and an instance group in the same run.
Issue Type
Ansible, Collection, Controller details
OS / ENVIRONMENT
The playbook was executed in a gitlab pipeline. The runner image is based on alpine 3.18.
Desired Behavior
I'd expect the dispatch role to create the instance group before creating the organization. Or create the organization without the instance group first and then assign it after creating the instance group (same as the role does for ee).
Actual Behavior
The role fails because the instance group doesn't exist yet and therefore can't be assigned to the org.
STEPS TO REPRODUCE