aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/k8-calico-nofeature/role/k8-calico-nofeature/tasks/main.yml
blob: e01c7ae78f31750228df04afccc054342addfcd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
##############################################################################
# Copyright (c) 2019 Ericsson Software Technology and others.
# Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# 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
##############################################################################

# set networking plugin to calico
- name: Set network plugin to calico
  lineinfile:
    path: "{{ remote_xci_path }}/.cache/repos/kubespray/inventory/opnfv/group_vars/k8s-cluster/k8s-cluster.yml"
    regexp: "^kube_network_plugin:.*"
    line: "kube_network_plugin: calico"

# vim: set ts=2 sw=2 expandtab: