Can I clone Trellis and, simply, copy my old group vars into the new ansible folder? Is it a reasonable way?
I know that is better do it with GIT, but I have not much GIT skills and I afraid to deal with cherry picks an conflicts.
Can I clone Trellis and, simply, copy my old group vars into the new ansible folder? Is it a reasonable way?
I know that is better do it with GIT, but I have not much GIT skills and I afraid to deal with cherry picks an conflicts.
Just learn to rebase…
Thank you for response. I’ve added “rebase” to my learning list. For now, I tried the update by hand, succesfully. This was my workflow:
Clone trellis and rename it as ansible
Update ansible: sudo pip install ansible==2.0.2.0
(Warning: without “2.0.2.0” doesn’t work because ansible 2.1.0.0 will be installed)
Update all group_vars one by one (there is a lot of new default variables that is no needed now). Be carefull, if db_name doesn’t match with default db_name, it must be specified, in order to not loss data of existing projects at remote server.
Provision development environment: vagrant up —-provision
(this generate a new VB machine, it is a bad way)
Update hosts/*
Update deploy-hooks/*
Now I can provision server and deploy old projects without losing data.