diff options
author | Yifei Xue <xueyifei@huawei.com> | 2018-02-22 00:38:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-02-22 00:38:54 +0000 |
commit | cfafdfa4bad20b380e542e6b2d4e240b2a931097 (patch) | |
tree | 6db62ef1ea06d06dd90927f482615b636bd5d004 /deploy/adapters/ansible/kubernetes/roles/2flannel/tasks/pre-upgrade.yml | |
parent | c8d1b105be71eb831a7068c2b7d5e1530d590a11 (diff) | |
parent | 098208121bba3ef6d576976c2e975c56f89ae901 (diff) |
Merge "add a multus with 2 fannel interfaces installation"
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/2flannel/tasks/pre-upgrade.yml')
-rw-r--r-- | deploy/adapters/ansible/kubernetes/roles/2flannel/tasks/pre-upgrade.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/2flannel/tasks/pre-upgrade.yml b/deploy/adapters/ansible/kubernetes/roles/2flannel/tasks/pre-upgrade.yml new file mode 100644 index 00000000..a49002fe --- /dev/null +++ b/deploy/adapters/ansible/kubernetes/roles/2flannel/tasks/pre-upgrade.yml @@ -0,0 +1,14 @@ +--- +- name: 2Flannel pre-upgrade | Purge legacy flannel systemd unit file + file: + path: "/etc/systemd/system/docker.service.d/flannel-options.conf" + state: absent + notify: + - 2Flannel | delete default docker bridge + +- name: 2Flannel pre-upgrade | Purge legacy Flannel static pod manifest + file: + path: "{{ kube_manifest_dir }}/flannel-pod.manifest" + state: absent + notify: + - 2Flannel | delete flannel interface |