Files
ansible_uni_deploy/roles/linux_config_init/tasks/static_dns.yml
2023-04-19 17:02:43 +02:00

15 lines
277 B
YAML

---
- name: DNS
become: true
ansible.builtin.blockinfile:
state: present
insertafter: EOF
path: /etc/hosts
mode: '0644'
create: true
block: |
10.0.0.4 pi-vpn
10.0.0.2 desktop-vpn
192.168.5.99 desktop-local
38.242.153.122 vps