stacklio / stackl

An open source, end-to-end application orchestration platform.
https://stackl.io
GNU General Public License v3.0
5 stars 4 forks source link

(docs) ansible delete command relies on specific logic to work #240

Closed mieel closed 3 years ago

mieel commented 3 years ago

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

stgrace commented 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.

mieel commented 3 years ago

I think it's better to make the delete ansible command optional, especially when it's combined with a terraform invocation.