diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-01-19 00:47:13 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-01-19 00:47:13 -0500 |
commit | 11568e7abc3d17f43ebfa3169cb40c382a36db8c (patch) | |
tree | effccb5fdb9a94680698e9b42fe67a8d0047bcff /roles/k8s | |
parent | bd30d7dfaf25200900d9ebacfaf62e8bcfd7ac65 (diff) | |
download | playbooks-11568e7abc3d17f43ebfa3169cb40c382a36db8c.tar.gz playbooks-11568e7abc3d17f43ebfa3169cb40c382a36db8c.tar.bz2 playbooks-11568e7abc3d17f43ebfa3169cb40c382a36db8c.zip |
roles/k8s/network: Use network scripts
Diffstat (limited to 'roles/k8s')
-rw-r--r-- | roles/k8s/network.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/k8s/network.yml b/roles/k8s/network.yml new file mode 100644 index 0000000..a843e65 --- /dev/null +++ b/roles/k8s/network.yml @@ -0,0 +1,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 |