Fix Ansible installation, add uninstall playbook #19
Loading…
Reference in New Issue
No description provided.
Delete Branch "nutomic/lemmy:ansible"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hrm, maybe we should also externalize the version into inventory... not sure tho.
Yeah I'm thinking about that for the dev deploy right now. Inventory is probably not the best place, because its not under version control so every user has to update it manually. How about adding another
VERSION
file that only contains the version as plaintext?Hrm... I feel like for the ansible it should only update when explicitly told to, who knows what kind of changes might break things.
But if we wanted to do that, the VERSION would go in the templates folder? And then the docker compose would do
{{ version }}
?nutomic referenced this pull request2020-01-31 11:05:06 +00:00
Templates sounds like the wrong place, that is for files which will be copied to the server. But something like
ansible/VERSION
I guess. And yes it can be used as a variable then.I will probably fix that in #20 because I need to add the variable there anyway to support dev builds.
Okay cool, I'll take a look at this within a few hours.