Skip to content
  • Florian Pritz's avatar
    Fix apollo postgres ip detection and firewall generation · cf2b01c0
    Florian Pritz authored
    
    
    - firewall tag so that the facts exist when only firewall is run
    - extract IPs from our host vars all the time. no need to query
    autodetected facts
    - remove empty elements from the list with select(). not all hosts have
    ipv6
    - fix the subnetmask for v6
    - fix the postgres role configuring a v4 rule instead of v6 for a v6
    address
    - hardcode netmask for orion addresses too
    
    Little bit much for one commit, but splitting it doesn't make a whole
    lot of sense.
    
    Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
    cf2b01c0