From 83e431669fd0a72ac7e722d38137b463bd807607 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 29 Sep 2023 13:06:01 +0200 Subject: [PATCH] selectively deploy ssl certs --- ansible/inventory/runa.yml | 3 +++ ansible/playbook/runa.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/ansible/inventory/runa.yml b/ansible/inventory/runa.yml index 3af21da..111c238 100644 --- a/ansible/inventory/runa.yml +++ b/ansible/inventory/runa.yml @@ -4,6 +4,7 @@ runa: ansible_become: true docker_compose: [] docker_compose_version: "1.29.1" + has_ssl_certificates: true ssh_keys: - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE9P5aA5O4Vsgg5sB6Ojk+z1f5F97hvwRRd3gi+a+GGq nico-2016" - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCjWYALKYHTs6mX7GrrpxR0TPhxwVplmmcTPAA7zjhVCZajcUwLduy3Yct4YXBwRiEydGyhExoVVB8i7UhyvMQsTheRk751uJZyKWIkqbQJoJx1LPmZ00EJNaiIEiJih762D9KWZ1GoLBfB4QAEmoWDzVm3CFJ9tBVEsQ7i9BH+Cbe2GsnqflfWjb09bZhaOSTrmWNcBxgpXirZyi8EI0SrVtmnwVzdH8HXOalvFqW57aY1q/RjE1DIh7Pp+RiGscZz6CJ5oJtSEKbjZ2aUe4gomlQwYmGNVk22RdjvB7+0KDXMwdp702Z5ETv2xYk9v5YrA/lsWk/9JX8vGYb5Y5N+GGG9woZ5M1JIRjXduxNf68VMSQbxZTeonoWkh6Q8CNgDsHyyAyNuPAss7SCCGk5G8s0q/4IDGfV0A1QKFhHOId1qEqGQtLKaRbo6ZTi9wXSieA5D3kMNh+WWufutxI/t56USzNSaeYjqpYwiICBZ8jzWBJrDamiFne4KkW3PTao7Czv6yIeXHHfGYDtdvXppMSjamw+rbA/btTes5X+pYlFxniO5sZJUa+jnJOo3SYBGoRYftqxw7Usqm/i/koHP1RM8L3Iq+/xXNr5+AyFzRBCUUuDfRw1MY1n9OJXvYykNGth4ablfVFcP1R8Qq7jVGksK1dzckzD9SmCdubzwtw== nico-2014" @@ -12,7 +13,9 @@ runa: ank: hosts: mtx-turn-1.ankr.corp-services.app: + has_ssl_certificates: false mtx-turn-2.ankr.corp-services.app: + has_ssl_certificates: false lat: hosts: mtx-elem-1.lat.internal.ru.com: diff --git a/ansible/playbook/runa.yml b/ansible/playbook/runa.yml index cc49f2d..ab31b95 100644 --- a/ansible/playbook/runa.yml +++ b/ansible/playbook/runa.yml @@ -17,6 +17,7 @@ name: ssl-certificates tags: - ssl + when: has_ssl_certificates - name: Add docker-compose include_role: name: docker-compose