Files @ b757d690af42
Branch filter:

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

branko
MAR-75: Implemented support for specifying additional environment variables for the wsgi_website role. Environment is set-up for both the systemd service and for application admin user. Updated testsite implementation to use it for sample WSGI website.
{% if backup_clients -%}
table filter {
    chain INPUT {
        saddr ({% for client in backup_clients %} {{ client.ip }}{% endfor %}) @subchain "backup_in" {
            # SSH
            proto tcp dport 2222 ACCEPT;
        }
    }
}
{%- endif %}