Files @ 2006d7eebe25
Branch filter:

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

branko
MAR-22: Initial test implementation for role 'common':

- Added Molecule configuration covering all platforms with two hosts for testing
mandatory and optional parameters, as well as helper machine.
- Created test playbook for deploying necessary roles to servers with specific
configuration settings.
- Added sample data used by the test playbook.
- Added stock test file.
{% 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 %}