From 1a4012e42deff5c00a22d492a0c8d42793bf81fb Mon Sep 17 00:00:00 2001 From: Adrien Reslinger Date: Mon, 15 Feb 2021 17:25:12 +0100 Subject: [PATCH] Start working on OVH webhook --- tasks/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index d00260a..cbbb357 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -48,6 +48,24 @@ # - false - cert_manager_issuer is defined + - name: Install OVH webhook + block: + - name: Git clone stable repo on HEAD + ansible.builtin.git: + repo: "https://github.com/baarde/cert-manager-webhook-ovh.git" + dest: /tmp/cert-manager-webhook-ovh + + - name: Deploy Grafana chart from local path + community.kubernetes.helm: + state: present + name: cert-manager-webhook-ovh + chart_ref: /tmp/cert-manager-webhook-ovh/deploy/cert-manager-webhook-ovh + release_namespace: "{{ cert_manager_namespace }}" + + when: + - false + - cert_manager_issuer.[].provider == "ovh" + tags: cert-manager