Skip to content
Snippets Groups Projects
Commit 145687a4 authored by Chad Swenson's avatar Chad Swenson Committed by Kubernetes Prow Robot
Browse files

Reduce log spam of verbose tasks (#3806)

Added a loop_control label to a few tasks that flood our logs.
parent 9051aa52
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,8 @@ ...@@ -107,6 +107,8 @@
- inventory_hostname in groups['etcd'] - inventory_hostname in groups['etcd']
- sync_certs|default(false) - sync_certs|default(false)
- inventory_hostname != groups['etcd'][0] - inventory_hostname != groups['etcd'][0]
loop_control:
label: "{{ item.item }}"
- set_fact: - set_fact:
my_etcd_node_certs: ['ca.pem', my_etcd_node_certs: ['ca.pem',
......
...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
- dnsmasq - dnsmasq
- coredns - coredns
- kubedns - kubedns
loop_control:
label: "{{ item.item.file }}"
- name: Kubernetes Apps | Netchecker - name: Kubernetes Apps | Netchecker
import_tasks: tasks/netchecker.yml import_tasks: tasks/netchecker.yml
......
...@@ -50,6 +50,8 @@ ...@@ -50,6 +50,8 @@
when: when:
- inventory_hostname == groups['kube-master'][0] - inventory_hostname == groups['kube-master'][0]
- not item is skipped - not item is skipped
loop_control:
label: "{{ item.item.file }}"
- name: Kubernetes Apps | Add ClusterRoleBinding to admit nodes - name: Kubernetes Apps | Add ClusterRoleBinding to admit nodes
template: template:
......
...@@ -60,3 +60,5 @@ ...@@ -60,3 +60,5 @@
state: "latest" state: "latest"
with_items: "{{ local_volume_provisioner_manifests.results }}" with_items: "{{ local_volume_provisioner_manifests.results }}"
when: inventory_hostname == groups['kube-master'][0] when: inventory_hostname == groups['kube-master'][0]
loop_control:
label: "{{ item.item.file }}"
\ No newline at end of file
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
- "{{ calico_node_manifests.results }}" - "{{ calico_node_manifests.results }}"
when: when:
- inventory_hostname == groups['kube-master'][0] and not item is skipped - inventory_hostname == groups['kube-master'][0] and not item is skipped
loop_control:
label: "{{ item.item.file }}"
- name: "calico upgrade complete" - name: "calico upgrade complete"
shell: "{{ bin_dir }}/calico-upgrade complete --no-prompts --apiconfigv1 /etc/calico/etcdv2.yml --apiconfigv3 /etc/calico/etcdv3.yml" shell: "{{ bin_dir }}/calico-upgrade complete --no-prompts --apiconfigv1 /etc/calico/etcdv2.yml --apiconfigv3 /etc/calico/etcdv3.yml"
......
...@@ -35,3 +35,5 @@ ...@@ -35,3 +35,5 @@
when: when:
- inventory_hostname == groups['kube-master'][0] - inventory_hostname == groups['kube-master'][0]
- not item is skipped - not item is skipped
loop_control:
label: "{{ item.item.file }}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment