summaryrefslogtreecommitdiffstats
path: root/edge/sample/roles/clusterForm_slave(s)/tasks/main.yml
diff options
context:
space:
mode:
authorWenjing Chu <chu.wenjing@gmail.com>2018-08-14 23:23:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-14 23:23:37 +0000
commit6fcc32c8d357c1f1e6b4aa667df0c1aa2c87d6f2 (patch)
tree5af6caddfd9694a40e713a99555a9d71cdf11139 /edge/sample/roles/clusterForm_slave(s)/tasks/main.yml
parent25285393777b4e0ce7989cb6c9cce6b040523feb (diff)
parent667fa134daca1c7264d0abfabfb1ce443a82ccc4 (diff)
Merge "Add ansible scripts for raspberry pi based kubernetes edge cluster"
Diffstat (limited to 'edge/sample/roles/clusterForm_slave(s)/tasks/main.yml')
-rw-r--r--edge/sample/roles/clusterForm_slave(s)/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/edge/sample/roles/clusterForm_slave(s)/tasks/main.yml b/edge/sample/roles/clusterForm_slave(s)/tasks/main.yml
new file mode 100644
index 0000000..206e86c
--- /dev/null
+++ b/edge/sample/roles/clusterForm_slave(s)/tasks/main.yml
@@ -0,0 +1,12 @@
+# Copyright (c) Authors of Clover
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+
+- name: Resetting kubeadm on slaves
+ shell: kubeadm reset
+
+- name: Join the cluster, slaves!
+ script: join.sh