Skip to content
Snippets Groups Projects

first changes after completing tier1 and tier2

Merged suitsik requested to merge master into main
7 files
+ 123
57
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 26
14
- name: DNS | Autoremove unneeded packages installed as dependencies
dnf:
autoremove: yes
#- name: DNS | Autoremove unneeded packages installed as dependencies
# dnf:
# autoremove: yes
- name: Disable IPv6
copy:
@@ -40,6 +40,18 @@
group: root
mode: '0644'
- name: Add port 53 udp
ansible.posix.firewalld:
port: 53/udp
permanent: true
state: enabled
- name: Add port 53 tcp
ansible.posix.firewalld:
port: 53/tcp
permanent: true
state: enabled
- name: Add port 8301 udp
ansible.posix.firewalld:
port: 8301/udp
@@ -57,15 +69,15 @@
name: firewalld
state: reloaded
- name: Install bind
dnf:
name: bind
state: latest
#- name: Install bind
# dnf:
# name: bind
# state: latest
- name: Install bind-utils
dnf:
name: bind-utils
state: latest
#- name: Install bind-utils
# dnf:
# name: bind-utils
# state: latest
- name: ensure user named is present
user:
@@ -142,9 +154,9 @@
group: root
mode: '0640'
- name: Reboot a machine
ansible.builtin.reboot:
reboot_timeout: 300
#- name: Reboot a machine
# ansible.builtin.reboot:
# reboot_timeout: 300
- name: Create a zone file
template:
Loading