forked from Deuxfleurs/infrastructure
Add SSH
This commit is contained in:
parent
4bd4d20533
commit
46aac4cc79
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
:OUTPUT ACCEPT [0:0]
|
||||
|
||||
# Cluster
|
||||
-A INPUT -p tcp --dport 22 -j ACCEPT
|
||||
-A INPUT -s 192.168.1.254 -j ACCEPT # router
|
||||
{% for selected_host in groups['cluster_nodes'] %}
|
||||
-A INPUT -s {{ hostvars[selected_host]['public_ip'] }} -j ACCEPT
|
||||
|
|
Loading…
Reference in a new issue