--- ### tags: ### prometheus ### argo-cd - name: Deploy kube-prometheus-stack inside monitoring namespace kubernetes.core.helm: name: prometheus chart_repo_url: "{{ k8s_prometheus_helm__chart_repo_url | default('https://prometheus-community.github.io/helm-charts') }}" chart_ref: "{{ k8s_ingress_helm__chart_ref | default('kube-prometheus-stack') }}" release_namespace: "{{ k8s_prometheus_helm__release_namespace | default('monitoring') }}" create_namespace: yes release_values: "{{ k8s_prometheus_helm__release_values }}" when: - inventory_hostname == groups['kube-master'][0] tags: - prometheus - name: Add argo-cd chart repo kubernetes.core.helm_repository: name: argo-cd repo_url: "https://argoproj.github.io/argo-helm" when: - inventory_hostname == groups['kube-master'][0] tags: - argo-cd - name: Deploy Argo-CD inside argo-cd namespace kubernetes.core.helm: name: argo-cd chart_ref: argo-cd/argo-cd release_namespace: argo-cd create_namespace: true when: - inventory_hostname == groups['kube-master'][0] tags: - argo-cd