Config Ansible mise à jour à l'occasion de l'install de HammerHead #37

Merged
quentin merged 6 commits from adrien/infrastructure:main into feature/upgrade-ansible 2021-04-09 09:19:39 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 7277927ea3 - Show all commits

View file

@ -7,10 +7,10 @@
-A INPUT -p icmp -j ACCEPT -A INPUT -p icmp -j ACCEPT
# Administration # Administration
-A INPUT -p tcp --dport {{ hostvars[selected_host]['ssh_port'] }} -j ACCEPT -A INPUT -p tcp --dport {{ ssh_port }} -j ACCEPT
# Diplonat needs everything open to communicate with IGD with the router # Diplonat needs everything open to communicate with IGD with the router
-A INPUT -s {{ hostvars[selected_host]['gatewayv4'] }} -j ACCEPT -A INPUT -s {{ gatewayv4 }} -j ACCEPT
# Cluster # Cluster
{% for selected_host in groups['cluster_nodes'] %} {% for selected_host in groups['cluster_nodes'] %}

View file

@ -13,7 +13,7 @@
-A INPUT -p ipv6-icmp -j ACCEPT -A INPUT -p ipv6-icmp -j ACCEPT
# Administration # Administration
-A INPUT -p tcp --dport {{ hostvars[selected_host]['ssh_port'] }} -j ACCEPT -A INPUT -p tcp --dport {{ ssh_port }} -j ACCEPT
# Cluster # Cluster
{% for selected_host in groups['cluster_nodes'] %} {% for selected_host in groups['cluster_nodes'] %}