summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/dellos6/layer2/tasks/main.yml10
-rw-r--r--roles/kubernetes/kubeadm/master/tasks/secondary-masters.yml1
2 files changed, 11 insertions, 0 deletions
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