summaryrefslogtreecommitdiff
path: root/roles/k8s
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-01-19 00:47:13 -0500
committerThedro Neely <thedroneely@gmail.com>2020-01-19 00:47:13 -0500
commit11568e7abc3d17f43ebfa3169cb40c382a36db8c (patch)
treeeffccb5fdb9a94680698e9b42fe67a8d0047bcff /roles/k8s
parentbd30d7dfaf25200900d9ebacfaf62e8bcfd7ac65 (diff)
downloadplaybooks-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.yml23
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