Refactor k8s scenario implementation
[releng-xci-scenarios.git] / scenarios / k8-calico-nofeature / role / k8-calico-nofeature / tasks / main.yml
1 ---
2 ##############################################################################
3 # Copyright (c) 2019 Ericsson Software Technology and others.
4 # Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others.
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
11
12 # set networking plugin to calico
13 - name: Set network plugin to calico
14   lineinfile:
15     path: "{{ remote_xci_path }}/.cache/repos/kubespray/inventory/opnfv/group_vars/k8s-cluster/k8s-cluster.yml"
16     regexp: "^kube_network_plugin:.*"
17     line: "kube_network_plugin: calico"
18
19 # vim: set ts=2 sw=2 expandtab: