On 12 Aug 2017, at 3:08 PM, Maciej Delmanowski
<drybjed(a)drybjed.net> wrote:
I think that you should be able to install DebOps globally to say,
/usr/local/share/debops:
sudo debops-update /usr/local/share/debops
This works thanks :)
Then, create a '/etc/debops.cfg' configuration file with
contents:
[paths]
install-path = /usr/local/share/debops/debops-playbooks
After this, the 'debops' script should use that configuration file and look up
the playbooks in the specified directory.
Is it possible to have debops run from the install-path (in /etc/debops.cfg)
… but (like when I’m testing modifications to postgresql_server role) use a local
.debops.cfg to overwrite the /etc/debops.cfg ?
At this point running 'debops-update' from a normal user account will result
in an error since the script will try to update the git repositories that
belong to a different user. Just to keep that in mind.
Cheers,
Maciej
_______________________________________________
debops-users mailing list
debops-users(a)lists.debops.org
https://lists.debops.org/mailman/listinfo/debops-users