Since topology.yml is generated by a task, it can't be loaded as a global variable. The first run of the playbook would always fail and would work in the second run because topology.yml can be loaded then.
How was it fixed?
Add security group in Terraform
Don't loadtopology.yml as a global variable, use include_vars to load it once generated.
What was wrong?
Two issue are fixed in this PR
81 security group is not specified.
topology.yml
is generated by a task, it can't be loaded as a global variable. The first run of the playbook would always fail and would work in the second run becausetopology.yml
can be loaded then.How was it fixed?
topology.yml
as a global variable, useinclude_vars
to load it once generated.Cute Animal Picture