Ansible playbooks to install a Daisyproducer, a Daisyproducer2, a Kati or a Madras2 server.
Put the needed debs into roles/daisyproducer/files. Adapt the version numbers in host_vars/xmlp02 and host_vars/xmlp01. To deploy to the test server run
ansible-playbook -i test -K --vault-password-file .vault_pass.txt daisyproducer.yml
To deploy to the production server run
ansible-playbook -i production -K --vault-password-file .vault_pass.txt daisyproducer.yml
Create a release in Daisyproducer2 with lein release
. This triggers
the release github action which builds the uberjar and uploads it to
the github release page. Then adapt the version number in
roles/daisyproducer2/defaults/main.yml. To deploy to the test server
run
ansible-playbook -i test -K --vault-password-file .vault_pass.txt daisyproducer2.yml
To deploy to the production server run
ansible-playbook -i production -K --vault-password-file .vault_pass.txt daisyproducer2.yml
Create a release in Kati with lein release
. This triggers the
release github action which builds the uberjar and uploads it to the
github release page. Then adapt the version number in
roles/kati/defaults/main.yml. To deploy to the test server run
ansible-playbook -i test -K --vault-password-file .vault_pass.txt kati.yml
To deploy to the production server run
ansible-playbook -i production -K --vault-password-file .vault_pass.txt kati.yml
Create a release in Madras with lein release
. This triggers the
release github action which builds the uberjar and uploads it to the
github release page. Then adapt the version number in
roles/madras2/defaults/main.yml. To deploy to the test server run
To deploy to the madras test server run
ansible-playbook -i test -K --vault-password-file .vault_pass.txt madras2.yml
To deploy to the pipeline test server run
ansible-playbook -i test -K --vault-password-file .vault_pass.txt pipeline.yml
Global secrets are stored in group_vars/all.yml
. Per host secrets
are stored in host_vars/<host>/secrets.yml
.
ansible-vault edit --vault-password-file .vault_pass.txt group_vars/all.yml
Copyright (c) 2014 Swiss Library for the Blind, Visually Impaired and Print Disabled.
Licensed under the MIT License.