---

# Defaults vars file for fail2ban role

# Repositories variables
# -----------------------------------------------------------------------------
fail2ban_repository_update_cache: true
fail2ban_repository_cache_valid_time: 3600


# Package variables
# -----------------------------------------------------------------------------
fail2ban_package_state: 'present'
fail2ban_packages: "{{ _fail2ban_packages }}"


# Service variables
# -----------------------------------------------------------------------------
fail2ban_service_enabled: true
fail2ban_service_name: "{{ _fail2ban_service_name }}"
fail2ban_service_state: 'started'


# Paths
# -----------------------------------------------------------------------------
_fail2ban_paths:
  files:
    action: {}
    filter: {}
    main_config:
      path: '/etc/fail2ban/fail2ban.conf'
    jail_local:
      path: '/etc/fail2ban/jail.local'
  folders:
    action:
      path: '/etc/fail2ban/action.d'
    filter:
      path: '/etc/fail2ban/filter.d'
    main:
      path: '/etc/fail2ban'
fail2ban_paths: "{{ _fail2ban_paths }}"


# Configuration
# -----------------------------------------------------------------------------
fail2ban_actions: {}
fail2ban_filters: {}
fail2ban_jails: "{{ _fail2ban_jails }}"
fail2ban_main_config_content: "{{ _fail2ban_main_config_content }}"
