This solution no longer uses an "ephemeral" group, but instead every worker range gets its own inventory group. Then group_vars can be used to enable every target to access its instance configuration. This allows Ansible to access target instance specification much more easily - which includes the ephemeral value.
This should help keeping code more streamlined. However, this will also conflict softly with hybrid-cloud as both branches partly work on the same code. Every conflict should be resolvable though without much rework.
This solution no longer uses an "ephemeral" group, but instead every worker range gets its own inventory group. Then group_vars can be used to enable every target to access its instance configuration. This allows Ansible to access target instance specification much more easily - which includes the ephemeral value.
This should help keeping code more streamlined. However, this will also conflict softly with hybrid-cloud as both branches partly work on the same code. Every conflict should be resolvable though without much rework.
closes #383