Update Veriscope

The update-veriscope.yaml playbook copies the version of the code on the controller machine onto the target Veriscope Server(s). It expects a value for the variable apps_to_update which is a list of veriscope components to update / reinstall, either api and/or dashboard (i.e. the web-application).

The below example commands pass in the extra vars inline, instead of updating the vars section in veriscope-nodes.yaml file.

If for some reason you wish to update a specific Veriscope Server, use the --limit flag as below. E.g. --limit "update-this-server.veriscope.org".

ansible-playbook -i infra/configure/inventory/veriscope-nodes.yaml --extra-vars apps_to_update="['api', 'dashboard']" infra/configure/playbooks/update-veriscope.yaml

OR

ansible-playbook -i infra/configure/inventory/veriscope-nodes.yaml --extra-vars apps_to_update="['dashboard']" infra/configure/playbooks/update-veriscope.yaml

OR

ansible-playbook -i infra/configure/inventory/veriscope-nodes.yaml --extra-vars apps_to_update="['api']" infra/configure/playbooks/update-veriscope.yaml --limit "<the-node-you-want-to-update>,localhost"

Run a specific Ansible playbook

Let’s say you want to create a new Admin User for your Veriscope dashboard. To do this, you can run the create-admin-user.yaml playbook as follows (the --limit flag is optional):

ansible-playbook -i infra/configure/inventory/veriscope-nodes.yaml infra/configure/playbooks/create-admin-user.yaml --limit "<the-node-you-want-to-update>"
A full list playbooks can be found /infra/configure/playbooks, from the root of the repository.