2022-12-29 21:13:31 +00:00
|
|
|
# vim: ft=yaml.ansible
|
2024-03-01 20:30:18 +00:00
|
|
|
# code: language=ansible
|
2022-11-10 20:48:24 +00:00
|
|
|
---
|
2024-03-31 17:31:27 +00:00
|
|
|
- name: Move internal network to zone 'internal'
|
|
|
|
ansible.posix.firewalld:
|
|
|
|
zone: internal
|
|
|
|
source: 10.2.1.0/24
|
|
|
|
permanent: true
|
2022-11-10 20:48:24 +00:00
|
|
|
state: enabled
|
2022-11-22 20:37:37 +00:00
|
|
|
|
2024-03-31 17:31:27 +00:00
|
|
|
- name: Allow incoming connections to SSH port in zone 'internal'
|
|
|
|
ansible.posix.firewalld:
|
|
|
|
zone: internal
|
|
|
|
port: "{{ ansible_port }}"
|
|
|
|
permanent: true
|
|
|
|
state: enabled
|
|
|
|
|
|
|
|
# Until control VM is deployed
|
|
|
|
- name: Allow incoming connections to SSH port in default zone
|
|
|
|
ansible.posix.firewalld:
|
|
|
|
port: "{{ ansible_port }}"
|
|
|
|
permanent: true
|
|
|
|
state: enabled
|