From e8c5af5fdf9cec7eba8b3d4fdaa5456a297eb504 Mon Sep 17 00:00:00 2001 From: Olivier Navas Date: Wed, 25 Dec 2024 21:41:21 +0100 Subject: [PATCH] Ajout de ports pour nodeexporter et cadvisor en https --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index e2dace0..9bd4ddd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,7 +25,7 @@ - name: Copie le certificat pour tls ansible.builtin.get_url: url: "{{ docker_traefik_certificate_url }}" - dest: /opt/{{ docker_nodeexporter_service_id }}/cert.pem + dest: "{{ docker_traefik_install_dir }}/cert.pem" username: "{{ lookup('env', 'AAP_RESSOURCES_USER') }}" password: "{{ lookup('env', 'AAP_RESSOURCES_PASSWORD') }}" mode: u=rw,g=r,o=r @@ -37,7 +37,7 @@ - name: Copie la clé pour tls ansible.builtin.get_url: url: "{{ docker_traefik_key_url }}" - dest: /opt/{{ docker_nodeexporter_service_id }}/key.pem + dest: "{{ docker_traefik_install_dir }}/key.pem" username: "{{ lookup('env', 'AAP_RESSOURCES_USER') }}" password: "{{ lookup('env', 'AAP_RESSOURCES_PASSWORD') }}" mode: u=rw,g=r,o=r