PLAY [all] ******************************************************************************************************************************************
TASK [set_fact] *************************************************************************************************************************************
Friday 29 December 2017 06:14:29 +0000 (0:00:00.078) 0:00:00.078 *******
ok: [node3]
ok: [node2]
ok: [node1]
TASK [Storing commands output] **********************************************************************************************************************
Friday 29 December 2017 06:14:29 +0000 (0:00:00.103) 0:00:00.181 *******
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node3] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node3] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
ok: [node2] => (item=None)
ok: [node1] => (item=None)
TASK [Fetch results] ********************************************************************************************************************************
Friday 29 December 2017 06:14:34 +0000 (0:00:04.404) 0:00:04.586 *******
changed: [node3] => (item={u'cmd': u'timedatectl status', u'name': u'timedate_info'})
changed: [node1] => (item={u'cmd': u'timedatectl status', u'name': u'timedate_info'})
changed: [node2] => (item={u'cmd': u'timedatectl status', u'name': u'timedate_info'})
changed: [node1] => (item={u'cmd': u'uname -r', u'name': u'kernel_info'})
changed: [node3] => (item={u'cmd': u'uname -r', u'name': u'kernel_info'})
changed: [node2] => (item={u'cmd': u'uname -r', u'name': u'kernel_info'})
changed: [node2] => (item={u'cmd': u'/usr/bin/docker info', u'name': u'docker_info'})
changed: [node1] => (item={u'cmd': u'/usr/bin/docker info', u'name': u'docker_info'})
changed: [node3] => (item={u'cmd': u'/usr/bin/docker info', u'name': u'docker_info'})
changed: [node1] => (item={u'cmd': u'ip -4 -o a', u'name': u'ip_info'})
changed: [node3] => (item={u'cmd': u'ip -4 -o a', u'name': u'ip_info'})
changed: [node2] => (item={u'cmd': u'ip -4 -o a', u'name': u'ip_info'})
changed: [node1] => (item={u'cmd': u'ip ro', u'name': u'route_info'})
changed: [node3] => (item={u'cmd': u'ip ro', u'name': u'route_info'})
changed: [node2] => (item={u'cmd': u'ip ro', u'name': u'route_info'})
changed: [node3] => (item={u'cmd': u'ps auxf | grep -v ]$', u'name': u'proc_info'})
changed: [node1] => (item={u'cmd': u'ps auxf | grep -v ]$', u'name': u'proc_info'})
changed: [node2] => (item={u'cmd': u'ps auxf | grep -v ]$', u'name': u'proc_info'})
changed: [node1] => (item={u'cmd': u'systemctl --state=failed --no-pager', u'name': u'systemctl_failed_info'})
changed: [node3] => (item={u'cmd': u'systemctl --state=failed --no-pager', u'name': u'systemctl_failed_info'})
changed: [node2] => (item={u'cmd': u'systemctl --state=failed --no-pager', u'name': u'systemctl_failed_info'})
changed: [node3] => (item={u'cmd': u'kubectl get all --all-namespaces -o wide', u'name': u'k8s_info'})
changed: [node2] => (item={u'cmd': u'kubectl get all --all-namespaces -o wide', u'name': u'k8s_info'})
changed: [node1] => (item={u'cmd': u'kubectl get all --all-namespaces -o wide', u'name': u'k8s_info'})
changed: [node3] => (item={u'cmd': u'journalctl -p err --no-pager', u'name': u'errors_info'})
changed: [node1] => (item={u'cmd': u'journalctl -p err --no-pager', u'name': u'errors_info'})
changed: [node2] => (item={u'cmd': u'journalctl -p err --no-pager', u'name': u'errors_info'})
changed: [node3] => (item={u'cmd': u'etcdctl --peers=https://node1:2379 cluster-health', u'name': u'etcd_info'})
changed: [node1] => (item={u'cmd': u'etcdctl --peers=https://node1:2379 cluster-health', u'name': u'etcd_info'})
changed: [node2] => (item={u'cmd': u'etcdctl --peers=https://node1:2379 cluster-health', u'name': u'etcd_info'})
changed: [node3] => (item={u'cmd': u'/usr/local/bin/calicoctl node status', u'name': u'calico_info'})
changed: [node2] => (item={u'cmd': u'/usr/local/bin/calicoctl node status', u'name': u'calico_info'})
changed: [node1] => (item={u'cmd': u'/usr/local/bin/calicoctl node status', u'name': u'calico_info'})
changed: [node3] => (item={u'cmd': u'/usr/local/bin/calicoctl get workloadEndpoint -o wide', u'name': u'calico_workload_info'})
changed: [node2] => (item={u'cmd': u'/usr/local/bin/calicoctl get workloadEndpoint -o wide', u'name': u'calico_workload_info'})
changed: [node1] => (item={u'cmd': u'/usr/local/bin/calicoctl get workloadEndpoint -o wide', u'name': u'calico_workload_info'})
changed: [node3] => (item={u'cmd': u'/usr/local/bin/calicoctl get ippool -o wide', u'name': u'calico_pool_info'})
changed: [node2] => (item={u'cmd': u'/usr/local/bin/calicoctl get ippool -o wide', u'name': u'calico_pool_info'})
changed: [node1] => (item={u'cmd': u'/usr/local/bin/calicoctl get ippool -o wide', u'name': u'calico_pool_info'})
changed: [node3] => (item={u'cmd': u'weave report', u'name': u'weave_info'})
changed: [node2] => (item={u'cmd': u'weave report', u'name': u'weave_info'})
changed: [node1] => (item={u'cmd': u'weave report', u'name': u'weave_info'})
changed: [node3] => (item={u'cmd': u'/usr/bin/docker logs weave', u'name': u'weave_logs'})
changed: [node1] => (item={u'cmd': u'/usr/bin/docker logs weave', u'name': u'weave_logs'})
changed: [node3] => (item={u'cmd': u'kubectl describe all --all-namespaces', u'name': u'kube_describe_all'})
changed: [node2] => (item={u'cmd': u'/usr/bin/docker logs weave', u'name': u'weave_logs'})
changed: [node1] => (item={u'cmd': u'kubectl describe all --all-namespaces', u'name': u'kube_describe_all'})
changed: [node3] => (item={u'cmd': u'kubectl describe nodes', u'name': u'kube_describe_nodes'})
changed: [node2] => (item={u'cmd': u'kubectl describe all --all-namespaces', u'name': u'kube_describe_all'})
changed: [node3] => (item={u'cmd': u'journalctl -u kubelet --no-pager', u'name': u'kubelet_logs'})
changed: [node2] => (item={u'cmd': u'kubectl describe nodes', u'name': u'kube_describe_nodes'})
changed: [node1] => (item={u'cmd': u'kubectl describe nodes', u'name': u'kube_describe_nodes'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kubedns -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system kubedns; done', u'name': u'kubedns_logs'})
changed: [node2] => (item={u'cmd': u'journalctl -u kubelet --no-pager', u'name': u'kubelet_logs'})
changed: [node1] => (item={u'cmd': u'journalctl -u kubelet --no-pager', u'name': u'kubelet_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kubedns -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system kubedns; done', u'name': u'kubedns_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-apiserver -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'apiserver_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kubedns -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system kubedns; done', u'name': u'kubedns_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-apiserver -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'apiserver_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-controller -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'controller_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-apiserver -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'apiserver_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-scheduler -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'scheduler_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-controller -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'controller_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-controller -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'controller_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-proxy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'proxy_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-scheduler -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'scheduler_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-scheduler -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'scheduler_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-nginx -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'nginx_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-proxy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'proxy_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-proxy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'proxy_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l app=flannel -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel-container; done', u'name': u'flannel_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-nginx -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'nginx_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-nginx -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'nginx_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=canal-node -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel; done', u'name': u'canal_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l app=flannel -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel-container; done', u'name': u'flannel_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l app=flannel -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel-container; done', u'name': u'flannel_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=calico-policy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system calico-policy-controller; done', u'name': u'calico_policy_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=canal-node -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel; done', u'name': u'canal_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=canal-node -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel; done', u'name': u'canal_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=calico-policy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system calico-policy-controller; done', u'name': u'calico_policy_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=calico-policy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system calico-policy-controller; done', u'name': u'calico_policy_logs'})
TASK [Fetch logs] ***********************************************************************************************************************************
Friday 29 December 2017 06:14:38 +0000 (0:00:04.349) 0:00:08.935 *******
changed: [node2] => (item=/var/log/syslog)
changed: [node3] => (item=/var/log/syslog)
changed: [node1] => (item=/var/log/syslog)
ok: [node2] => (item=/var/log/daemon.log)
ok: [node3] => (item=/var/log/daemon.log)
ok: [node1] => (item=/var/log/daemon.log)
changed: [node2] => (item=/var/log/kern.log)
changed: [node3] => (item=/var/log/kern.log)
changed: [node1] => (item=/var/log/kern.log)
changed: [node2] => (item=/var/log/dpkg.log)
changed: [node3] => (item=/var/log/dpkg.log)
changed: [node1] => (item=/var/log/dpkg.log)
changed: [node2] => (item=/var/log/apt/history.log)
changed: [node3] => (item=/var/log/apt/history.log)
ok: [node2] => (item=/var/log/yum.log)
changed: [node1] => (item=/var/log/apt/history.log)
ok: [node3] => (item=/var/log/yum.log)
ok: [node2] => (item=/var/log/calico/bird/current)
ok: [node3] => (item=/var/log/calico/bird/current)
ok: [node1] => (item=/var/log/yum.log)
ok: [node2] => (item=/var/log/calico/bird6/current)
ok: [node3] => (item=/var/log/calico/bird6/current)
ok: [node1] => (item=/var/log/calico/bird/current)
ok: [node2] => (item=/var/log/calico/felix/current)
ok: [node3] => (item=/var/log/calico/felix/current)
ok: [node1] => (item=/var/log/calico/bird6/current)
ok: [node2] => (item=/var/log/calico/confd/current)
ok: [node3] => (item=/var/log/calico/confd/current)
ok: [node1] => (item=/var/log/calico/felix/current)
ok: [node1] => (item=/var/log/calico/confd/current)
TASK [Pack results and logs] ************************************************************************************************************************
Friday 29 December 2017 06:14:40 +0000 (0:00:01.818) 0:00:10.753 *******
changed: [node2 -> localhost]
TASK [Clean up collected command outputs] ***********************************************************************************************************
Friday 29 December 2017 06:14:40 +0000 (0:00:00.143) 0:00:10.897 *******
changed: [node3] => (item={u'cmd': u'timedatectl status', u'name': u'timedate_info'})
changed: [node2] => (item={u'cmd': u'timedatectl status', u'name': u'timedate_info'})
changed: [node1] => (item={u'cmd': u'timedatectl status', u'name': u'timedate_info'})
changed: [node2] => (item={u'cmd': u'uname -r', u'name': u'kernel_info'})
changed: [node3] => (item={u'cmd': u'uname -r', u'name': u'kernel_info'})
changed: [node1] => (item={u'cmd': u'uname -r', u'name': u'kernel_info'})
changed: [node2] => (item={u'cmd': u'/usr/bin/docker info', u'name': u'docker_info'})
changed: [node3] => (item={u'cmd': u'/usr/bin/docker info', u'name': u'docker_info'})
changed: [node1] => (item={u'cmd': u'/usr/bin/docker info', u'name': u'docker_info'})
changed: [node3] => (item={u'cmd': u'ip -4 -o a', u'name': u'ip_info'})
changed: [node2] => (item={u'cmd': u'ip -4 -o a', u'name': u'ip_info'})
changed: [node1] => (item={u'cmd': u'ip -4 -o a', u'name': u'ip_info'})
changed: [node3] => (item={u'cmd': u'ip ro', u'name': u'route_info'})
changed: [node2] => (item={u'cmd': u'ip ro', u'name': u'route_info'})
changed: [node1] => (item={u'cmd': u'ip ro', u'name': u'route_info'})
changed: [node3] => (item={u'cmd': u'ps auxf | grep -v ]$', u'name': u'proc_info'})
changed: [node2] => (item={u'cmd': u'ps auxf | grep -v ]$', u'name': u'proc_info'})
changed: [node1] => (item={u'cmd': u'ps auxf | grep -v ]$', u'name': u'proc_info'})
changed: [node3] => (item={u'cmd': u'systemctl --state=failed --no-pager', u'name': u'systemctl_failed_info'})
changed: [node2] => (item={u'cmd': u'systemctl --state=failed --no-pager', u'name': u'systemctl_failed_info'})
changed: [node1] => (item={u'cmd': u'systemctl --state=failed --no-pager', u'name': u'systemctl_failed_info'})
changed: [node3] => (item={u'cmd': u'kubectl get all --all-namespaces -o wide', u'name': u'k8s_info'})
changed: [node2] => (item={u'cmd': u'kubectl get all --all-namespaces -o wide', u'name': u'k8s_info'})
changed: [node1] => (item={u'cmd': u'kubectl get all --all-namespaces -o wide', u'name': u'k8s_info'})
changed: [node3] => (item={u'cmd': u'journalctl -p err --no-pager', u'name': u'errors_info'})
changed: [node2] => (item={u'cmd': u'journalctl -p err --no-pager', u'name': u'errors_info'})
changed: [node1] => (item={u'cmd': u'journalctl -p err --no-pager', u'name': u'errors_info'})
changed: [node3] => (item={u'cmd': u'etcdctl --peers=https://node1:2379 cluster-health', u'name': u'etcd_info'})
changed: [node2] => (item={u'cmd': u'etcdctl --peers=https://node1:2379 cluster-health', u'name': u'etcd_info'})
changed: [node1] => (item={u'cmd': u'etcdctl --peers=https://node1:2379 cluster-health', u'name': u'etcd_info'})
changed: [node3] => (item={u'cmd': u'/usr/local/bin/calicoctl node status', u'name': u'calico_info'})
changed: [node2] => (item={u'cmd': u'/usr/local/bin/calicoctl node status', u'name': u'calico_info'})
changed: [node1] => (item={u'cmd': u'/usr/local/bin/calicoctl node status', u'name': u'calico_info'})
changed: [node3] => (item={u'cmd': u'/usr/local/bin/calicoctl get workloadEndpoint -o wide', u'name': u'calico_workload_info'})
changed: [node2] => (item={u'cmd': u'/usr/local/bin/calicoctl get workloadEndpoint -o wide', u'name': u'calico_workload_info'})
changed: [node1] => (item={u'cmd': u'/usr/local/bin/calicoctl get workloadEndpoint -o wide', u'name': u'calico_workload_info'})
changed: [node3] => (item={u'cmd': u'/usr/local/bin/calicoctl get ippool -o wide', u'name': u'calico_pool_info'})
changed: [node2] => (item={u'cmd': u'/usr/local/bin/calicoctl get ippool -o wide', u'name': u'calico_pool_info'})
changed: [node1] => (item={u'cmd': u'/usr/local/bin/calicoctl get ippool -o wide', u'name': u'calico_pool_info'})
changed: [node3] => (item={u'cmd': u'weave report', u'name': u'weave_info'})
changed: [node2] => (item={u'cmd': u'weave report', u'name': u'weave_info'})
changed: [node1] => (item={u'cmd': u'weave report', u'name': u'weave_info'})
changed: [node3] => (item={u'cmd': u'/usr/bin/docker logs weave', u'name': u'weave_logs'})
changed: [node1] => (item={u'cmd': u'/usr/bin/docker logs weave', u'name': u'weave_logs'})
changed: [node2] => (item={u'cmd': u'/usr/bin/docker logs weave', u'name': u'weave_logs'})
changed: [node3] => (item={u'cmd': u'kubectl describe all --all-namespaces', u'name': u'kube_describe_all'})
changed: [node2] => (item={u'cmd': u'kubectl describe all --all-namespaces', u'name': u'kube_describe_all'})
changed: [node3] => (item={u'cmd': u'kubectl describe nodes', u'name': u'kube_describe_nodes'})
changed: [node1] => (item={u'cmd': u'kubectl describe all --all-namespaces', u'name': u'kube_describe_all'})
changed: [node3] => (item={u'cmd': u'journalctl -u kubelet --no-pager', u'name': u'kubelet_logs'})
changed: [node2] => (item={u'cmd': u'kubectl describe nodes', u'name': u'kube_describe_nodes'})
changed: [node1] => (item={u'cmd': u'kubectl describe nodes', u'name': u'kube_describe_nodes'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kubedns -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system kubedns; done', u'name': u'kubedns_logs'})
changed: [node2] => (item={u'cmd': u'journalctl -u kubelet --no-pager', u'name': u'kubelet_logs'})
changed: [node1] => (item={u'cmd': u'journalctl -u kubelet --no-pager', u'name': u'kubelet_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-apiserver -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'apiserver_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kubedns -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system kubedns; done', u'name': u'kubedns_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kubedns -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system kubedns; done', u'name': u'kubedns_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-controller -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'controller_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-apiserver -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'apiserver_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-apiserver -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'apiserver_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-scheduler -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'scheduler_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-controller -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'controller_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-controller -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'controller_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-proxy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'proxy_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-scheduler -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'scheduler_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-nginx -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'nginx_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-scheduler -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'scheduler_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l app=flannel -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel-container; done', u'name': u'flannel_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-proxy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'proxy_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-proxy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'proxy_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=canal-node -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel; done', u'name': u'canal_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-nginx -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'nginx_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=kube-nginx -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system; done', u'name': u'nginx_logs'})
changed: [node3] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=calico-policy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system calico-policy-controller; done', u'name': u'calico_policy_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l app=flannel -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel-container; done', u'name': u'flannel_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l app=flannel -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel-container; done', u'name': u'flannel_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=canal-node -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel; done', u'name': u'canal_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=canal-node -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system flannel; done', u'name': u'canal_logs'})
changed: [node2] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=calico-policy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system calico-policy-controller; done', u'name': u'calico_policy_logs'})
changed: [node1] => (item={u'cmd': u'for i in `kubectl get pods --all-namespaces -l k8s-app=calico-policy -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system calico-policy-controller; done', u'name': u'calico_policy_logs'})
PLAY RECAP ******************************************************************************************************************************************
node1 : ok=5 changed=4 unreachable=0 failed=0
node2 : ok=6 changed=5 unreachable=0 failed=0
node3 : ok=5 changed=4 unreachable=0 failed=0
Friday 29 December 2017 06:14:44 +0000 (0:00:04.309) 0:00:15.207 *******
===============================================================================
Storing commands output ---------------------------------------------------------------------------------------------------------------------- 4.40s
Fetch results -------------------------------------------------------------------------------------------------------------------------------- 4.35s
Clean up collected command outputs ----------------------------------------------------------------------------------------------------------- 4.31s
Fetch logs ----------------------------------------------------------------------------------------------------------------------------------- 1.82s
Pack results and logs ------------------------------------------------------------------------------------------------------------------------ 0.14s
set_fact ------------------------------------------------------------------------------------------------------------------------------------- 0.10s