enhanced reset for contiv

This commit is contained in:
Erwan Miran
2018-09-17 16:46:19 +02:00
parent bcaf2f9ea3
commit afa2a5f1c4
5 changed files with 220 additions and 0 deletions

View File

@@ -1,5 +1,12 @@
---
- name: reset | include file with pre-reset tasks specific to the network_plugin if exists
include_tasks: "{{ (role_path + '/../network_plugin/' + kube_network_plugin + '/tasks/pre-reset.yml') | realpath }}"
when:
- kube_network_plugin in ['contiv']
tags:
- network
- name: reset | stop services
service:
name: "{{ item }}"