Well, first push
This commit is contained in:
14
roles/linux_config_init/tasks/static_dns.yml
Normal file
14
roles/linux_config_init/tasks/static_dns.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- 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
|
||||
Reference in New Issue
Block a user