Skip to content

Commit c427c62

Browse files
committed
delegate helm specific steps to master[0]
1 parent f1464a2 commit c427c62

File tree

1 file changed

+2
-0
lines changed
  • kubetest2-tf/data/k8s-ansible/roles/install-monitoring/tasks

1 file changed

+2
-0
lines changed

kubetest2-tf/data/k8s-ansible/roles/install-monitoring/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
name: "{{ helm_repo_name }}"
99
repo_url: "{{ helm_repo_url }}"
1010
state: present
11+
delegate_to: "{{ groups['masters'][0] }}"
1112

1213
- name: Copy helm chart values files
1314
copy:
@@ -29,4 +30,5 @@
2930
- value: grafana.adminPassword="{{ grafana_admin_password }}"
3031
value_type: string
3132
state: present
33+
delegate_to: "{{ groups['masters'][0] }}"
3234

0 commit comments

Comments
 (0)