summaryrefslogtreecommitdiff
path: root/roles/k8s/network.yml
blob: a843e6568ccec9195ee5ef620985e9daa5033229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
# Target: centos8
# Network Manager causes problems with lxc domain resolution

- name: Use Network Scripts
  hosts: k8s_centos

  tasks:

    - name: Removing NetworkManager
      yum:
        name: NetworkManager
        state: absent

    - name: Installing Network Scripts
      yum:
        name: network-scripts
        state: present

    - name: Enabling Network
      service:
        name: network
        enabled: yes