Added storage nodes for k3s

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-10-08 04:13:38 +02:00
parent 92e4b3bb27
commit 7d58de98d9
23 changed files with 176 additions and 157 deletions

View File

@@ -5,10 +5,10 @@
become: true
- name: Update /etc/hosts to reflect the new hostname
lineinfile:
ansible.builtin.lineinfile:
path: /etc/hosts
regexp: '^127\.0\.1\.1'
line: "127.0.1.1 {{ host.hostname }}"
state: present
backup: yes
backup: true
become: true