add allowed range to ssh
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
e924d3e33c
commit
85fb26bf52
@ -1,7 +1,7 @@
|
||||
---
|
||||
ansible_become: true
|
||||
ansible_user: ansible@intra.tormakris.dev
|
||||
webgw_allowedranges:
|
||||
allowedranges:
|
||||
- 192.168.69.0/24
|
||||
- 192.168.1.0/24
|
||||
...
|
||||
|
@ -18,5 +18,6 @@
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
port: ssh
|
||||
src: 192.168.69.0/24
|
||||
src: "{{ item }}"
|
||||
with_items: "{{ allowedranges }}"
|
||||
...
|
||||
|
@ -4,7 +4,7 @@
|
||||
rule: allow
|
||||
port: https
|
||||
src: "{{ item }}"
|
||||
with_items: "{{ webgw_allowedranges }}"
|
||||
with_items: "{{ allowedranges }}"
|
||||
|
||||
- name: "Install Nginx via apt"
|
||||
ansible.builtin.apt:
|
||||
|
Loading…
Reference in New Issue
Block a user