DNS related changes
- Added hostname provisioning - Added nsswitch.conf provisioning - Added systemd-resolved provisioning
This commit is contained in:
parent
98afd559fc
commit
8d8ae8f892
18 changed files with 120 additions and 25 deletions
|
|
@ -1,12 +1,10 @@
|
|||
- name: Copy firewall template
|
||||
- name: Copy nsswitch file
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: 'templates/nftables.j2'
|
||||
dest: '/etc/nftables.conf'
|
||||
owner: root
|
||||
group: root
|
||||
src: 'nsswitch.j2'
|
||||
dest: '/etc/nsswitch.conf'
|
||||
mode: '0644'
|
||||
notify: restart nftables
|
||||
owner: root
|
||||
|
||||
- name: Copy ssh template
|
||||
become: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue