Reduce log spam of verbose tasks (#3806)

Added a loop_control label to a few tasks that flood our logs.
This commit is contained in:
Chad Swenson 2018-12-04 12:35:44 -06:00 committed by Kubernetes Prow Robot
parent 9051aa5296
commit 145687a48e
6 changed files with 12 additions and 0 deletions

View file

@ -107,6 +107,8 @@
- inventory_hostname in groups['etcd']
- sync_certs|default(false)
- inventory_hostname != groups['etcd'][0]
loop_control:
label: "{{ item.item }}"
- set_fact:
my_etcd_node_certs: ['ca.pem',

View file

@ -61,6 +61,8 @@
- dnsmasq
- coredns
- kubedns
loop_control:
label: "{{ item.item.file }}"
- name: Kubernetes Apps | Netchecker
import_tasks: tasks/netchecker.yml

View file

@ -50,6 +50,8 @@
when:
- inventory_hostname == groups['kube-master'][0]
- not item is skipped
loop_control:
label: "{{ item.item.file }}"
- name: Kubernetes Apps | Add ClusterRoleBinding to admit nodes
template:

View file

@ -60,3 +60,5 @@
state: "latest"
with_items: "{{ local_volume_provisioner_manifests.results }}"
when: inventory_hostname == groups['kube-master'][0]
loop_control:
label: "{{ item.item.file }}"

View file

@ -11,6 +11,8 @@
- "{{ calico_node_manifests.results }}"
when:
- inventory_hostname == groups['kube-master'][0] and not item is skipped
loop_control:
label: "{{ item.item.file }}"
- name: "calico upgrade complete"
shell: "{{ bin_dir }}/calico-upgrade complete --no-prompts --apiconfigv1 /etc/calico/etcdv2.yml --apiconfigv3 /etc/calico/etcdv3.yml"

View file

@ -35,3 +35,5 @@
when:
- inventory_hostname == groups['kube-master'][0]
- not item is skipped
loop_control:
label: "{{ item.item.file }}"