Closed Robsteranium closed 3 years ago
I've created a #34 for this.
We'll need to change the packed image so that omni and the ook config is installed on the box permanently (e.g. /opt/omni/omni.jar
and /etc/opt/ook/omni-config.edn
or /etc/opt/omni/ook.edn
instead of to /tmp/server
).
This should take an omni package name - e.g. from circle ci (per
pack_image.sh
), then install this over the top of the installed version of ook and then restart the service.Something like this (from
deploy/packer/template/install/install-dependencies.sh
):Packer has already installed and used omni so this shouldn't be too hard to get going.
We can have ansible find the already provisioning ook server itself with a gcp inventory plugin, e.g.
gcp.yml
:e.g. try
ansible "*" -i gcp.yml -m ansible.builtin.ping
Note that the ansible
server.yml
playbook will need to be updated to apply this label to the instance when it's created.