Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Work better with scripts, e.g. ansible #19

Open
johanfforsberg opened this issue Jun 10, 2021 · 0 comments
Open

Work better with scripts, e.g. ansible #19

johanfforsberg opened this issue Jun 10, 2021 · 0 comments

Comments

@johanfforsberg
Copy link

Today in ansible we use dsconfig as a python module in order to detect changes properly. But then we get problems with python2/3.

See if we can make the "json2tango" script more suitable for running directly by ansible and still be able to detect if anything was changed. That way we don't have to care what python version is involved. I think return codes don't really work for this as they should be about errors... there must be some similar cases where people have wrapped programs in ansible modules to make them idempotent?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant