Files @ a20ca43cd967
Branch filter:

Location: majic-ansible-roles/roles/backup_server/templates/ferm_backup.conf.j2

branko
MAR-134: Fix Ansible warning about use of apt and with_items:

- The apt module can accept list of names already, and with_items is
considered to be deprecated in this regard (otherwise it would
end-up running one apt command per item).
- Changed multiple roles where apt was used together along with_items.
{% if backup_clients -%}
domain (ip ip6) {
    table filter {
        chain INPUT {
            saddr ({% for client in backup_clients %} {{ client.ip }}{% endfor %}) @subchain "backup_in" {
                # SSH
                proto tcp dport 2222 ACCEPT;
            }
        }
    }
}
{%- endif %}