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