ansible-role-shinyproxy/templates/sync_docker_certificates.sh.j2

9 lines
392 B
Plaintext
Raw Normal View History

2020-09-17 19:30:11 +02:00
#!/bin/bash
/bin/cp -f /var/lib/docker/swarm/certificates/swarm-root-ca.crt {{ shinyproxy_docker_certs_dir }}/ca.pem
/bin/cp -f /var/lib/docker/swarm/certificates/swarm-node.crt {{ shinyproxy_docker_certs_dir }}/cert.pem
/bin/cp -f /var/lib/docker/swarm/certificates/swarm-node.key {{ shinyproxy_docker_certs_dir }}/key.pem
chown shinyproxy {{ shinyproxy_docker_certs_dir }}/key.pem
exit 0