ansible_cache/home_linux/set_hosts_file_for_k3s.yml
2024-08-29 21:50:57 +01:00

15 lines
306 B
YAML

---
- name: Update hosts files on k3s nodes
hosts: kubernetes
roles:
- common
become: yes
gather_facts: no
tasks:
- name: Replace the local A records for local services in k3s
ansible.builtin.lineinfile:
path: /etc/hosts
line: 192.168.0.56 services.ze.internet.local