Files @ 7282cffb132f
Branch filter:

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

branko
MAR-132: Added support for Debian 9 (Stretch) to backup_server role:

- Deploy slightly different sshd_config file for Stretch (DSA key
unused).
- Updated Molecule tests to cover testing on Debian 9.
- Updated role reference documentation.
{% 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 %}