Skip to content

Commit

Permalink
fix: define all groups in the firewall_additional_rules_for variable
Browse files Browse the repository at this point in the history
fixed:
fatal: [10.172.0.22]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'consul_instances'. 'dict object' has no attribute 'consul_instances'\n\nThe error appears to be in '/workspace/postgresql_cluster/add_pgnode.yml': line 93, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Build a firewall_rules_dynamic_var\n      ^ here\n"}
  • Loading branch information
vitabaks committed Mar 25, 2023
1 parent 3e824e7 commit 59b6100
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vars/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ firewall_additional_rules_for:
master: []
replica: []
postgres_cluster: []
pgbackrest: []
etcd_cluster: []
consul_instances: []
balancers:
- "iptables -p vrrp -A INPUT -j ACCEPT" # Keepalived (vrrp)
- "iptables -p vrrp -A OUTPUT -j ACCEPT" # Keepalived (vrrp)
Expand Down

0 comments on commit 59b6100

Please sign in to comment.