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_become: true
|
||||||
ansible_user: ansible@intra.tormakris.dev
|
ansible_user: ansible@intra.tormakris.dev
|
||||||
webgw_allowedranges:
|
allowedranges:
|
||||||
- 192.168.69.0/24
|
- 192.168.69.0/24
|
||||||
- 192.168.1.0/24
|
- 192.168.1.0/24
|
||||||
...
|
...
|
||||||
|
@ -18,5 +18,6 @@
|
|||||||
community.general.ufw:
|
community.general.ufw:
|
||||||
rule: allow
|
rule: allow
|
||||||
port: ssh
|
port: ssh
|
||||||
src: 192.168.69.0/24
|
src: "{{ item }}"
|
||||||
|
with_items: "{{ allowedranges }}"
|
||||||
...
|
...
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
rule: allow
|
rule: allow
|
||||||
port: https
|
port: https
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
with_items: "{{ webgw_allowedranges }}"
|
with_items: "{{ allowedranges }}"
|
||||||
|
|
||||||
- name: "Install Nginx via apt"
|
- name: "Install Nginx via apt"
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
Loading…
Reference in New Issue
Block a user