Removing dns masq since it breaks the hecc out of the dns resolution and k8s

This commit is contained in:
shockrah 2024-05-02 22:49:09 -07:00
parent b9cbbb73ad
commit cfb7114597
2 changed files with 4 additions and 9 deletions

View File

@ -1,8 +0,0 @@
---
- hosts: lab
remote_user: cluster-master
tasks:
- name: Setup DNS MASQ
become: yes
import_tasks: tasks/install-dnsmasq.yml

View File

@ -1,7 +1,7 @@
# Do not run this anymore cuz dns masq breaks too much shit at once
- name: Install dnsmasq
apt:
name: dnsmasq
update_cache: yes
- name: Ensure config ready for local network use
lineinfile:
path: /etc/dnsmasq.conf
@ -13,6 +13,9 @@
- "cache-size=1000"
- "server=208.67.222.222"
- "server=208.67.220.220"
- "domain=cluster.lan"
- "expand-hosts"
- "listen-address=127.0.0.1,192.168.1.100"
- name: Add entries to the /etc/hosts file
lineinfile:
path: /etc/hosts