From 96c88ea36accedae4e182def9a57fd87d4c7a4e9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 10 Jun 2020 11:16:33 +0200 Subject: minor cleanups --- roles/dellos6/layer2/tasks/main.yml | 10 ++++++++++ roles/kubernetes/kubeadm/master/tasks/secondary-masters.yml | 1 + 2 files changed, 11 insertions(+) (limited to 'roles') diff --git a/roles/dellos6/layer2/tasks/main.yml b/roles/dellos6/layer2/tasks/main.yml index b8bfa968..92740a3a 100644 --- a/roles/dellos6/layer2/tasks/main.yml +++ b/roles/dellos6/layer2/tasks/main.yml @@ -5,8 +5,18 @@ replace: block notify: save configuration +# - name: dump vlan config +# delegate_to: localhost +# pause: +# prompt: "\n## vlans\n\n{{ lookup('template', 'vlans.j2') }}\n\n" + - name: configure interfaces dellos6_config: src: interfaces.j2 replace: block notify: save configuration + +# - name: dump interface config +# delegate_to: localhost +# pause: +# prompt: "\n## vlans\n\n{{ lookup('template', 'interfaces.j2') }}\n\n" diff --git a/roles/kubernetes/kubeadm/master/tasks/secondary-masters.yml b/roles/kubernetes/kubeadm/master/tasks/secondary-masters.yml index cb135adc..31fb31d6 100644 --- a/roles/kubernetes/kubeadm/master/tasks/secondary-masters.yml +++ b/roles/kubernetes/kubeadm/master/tasks/secondary-masters.yml @@ -28,6 +28,7 @@ - name: join kubernetes secondary master node and store log block: - name: join kubernetes secondary master node + throttle: 1 ## TODO test this! command: "kubeadm join 127.0.0.1:6443 --node-name {{ inventory_hostname }} --apiserver-bind-port 6442{% if kubernetes_overlay_node_ip is defined %} --apiserver-advertise-address {{ kubernetes_overlay_node_ip }}{% endif %}{% if kubernetes_cri_socket %} --cri-socket {{ kubernetes_cri_socket }}{% endif %} --token '{{ kube_bootstrap_token }}' --discovery-token-ca-cert-hash '{{ kube_bootstrap_ca_cert_hash }}' --control-plane --certificate-key {{ kubeadm_upload_certs_key }}" args: creates: /etc/kubernetes/kubelet.conf -- cgit v1.2.3