ansible_cache/home_linux/set_hosts_file_for_k3s.yml

15 lines
306 B
YAML
Raw Normal View History

2024-08-29 20:50:57 +00:00
---
- 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