Closed mieel closed 3 years ago
Not sure how we could fix this issue. Potentially we could add a field to an ansible functional requirement that defines what state should be added when executing a delete.
I think it's better to make the delete ansible command optional, especially when it's combined with a terraform invocation.
The
stackl delete
for ansible invocations plays the role with-e state=absent
this implies that, for the deletion of the role/playbook to have any effect, it should be developed with tasks containing:
state: "{{ state }}"
This should be mentioned in the docs