summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/kubernetes/roles/pre-k8s
diff options
context:
space:
mode:
authorhu xinhui <xinhui_hu@foxmail.com>2018-02-06 10:20:40 +0800
committerhu xinhui <xinhui_hu@foxmail.com>2018-02-09 13:26:16 +0800
commit04612cd0b3ee0ef6764a1a99299da52348b49e35 (patch)
tree90a2ef0da66b084ed35553c026200835749c8032 /deploy/adapters/ansible/kubernetes/roles/pre-k8s
parent26f656961306239075612ac75a92b79db44e1539 (diff)
change k8s version to v1.9.1
JIRA: - 1. compass4nfv can deploy v1.9.1 kubernetes 2. end user can use the kubernetes dashboard Change-Id: I274dda38599da95f382dfcb4159b530da8422fd8 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/pre-k8s')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/main.yml b/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/main.yml
index 76203440..c915ec09 100644
--- a/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/main.yml
+++ b/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/main.yml
@@ -12,3 +12,7 @@
- include: "{{ ansible_os_family }}.yml"
when: ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7'
+
+- name: close the swap partition
+ shell: |
+ swapoff -a