Closed kadefor closed 6 years ago
You could use host inventory:
networks:
dev:
inventory: ./hosts-with-decrypted-passwords.sh
@VojtechVitek thank you for your reply. While it's not a feature and it is useless, I will close the issue. :)
If parse Supfile as golang text/template, we can add "decrypt" function into go template FuncMap and the
sup
command can add --encrypt flag to encrypt password string.first,
Then, we can use the "decrypt" function like this:
Supfile
or:
or:
run,
I had implemented the feature basically, but it depends on "per host config" and "go template".
While my PR #145 was closed, so I hope the community could add the feature.