add ansible for complete cluster setup with multipass

This commit is contained in:
Bartal Læarsson
2025-02-24 22:45:11 +00:00
parent 4670946ef6
commit e0609e7d3a
14 changed files with 887 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
---
- name: Ensure systemd-resolved is running
systemd:
name: systemd-resolved
state: started
enabled: yes
- name: Configure systemd-resolved to use Google DNS
lineinfile:
path: /etc/systemd/resolved.conf
regexp: '^#?DNS='
line: 'DNS=8.8.8.8'
state: present
- name: Restart systemd-resolved service
systemd:
name: systemd-resolved
state: restarted