Skip to content
Permalink
Branch: master
Commits on Jan 25, 2018
  1. Release a new tagged version, due to a request

    drybjed committed Jan 25, 2018
    Fixes #26
Commits on Oct 20, 2017
  1. Merge branch 'igormukhingmailcom-forks-patch-1'

    drybjed committed Oct 20, 2017
  2. Merge branch 'patch-1' of https://github.com/igormukhingmailcom-forks…

    drybjed committed Oct 20, 2017
    …/ansible-fail2ban into igormukhingmailcom-forks-patch-1
Commits on Sep 21, 2017
  1. Merge branch 'ganto-fix-default'

    drybjed committed Sep 21, 2017
  2. Adjust changelog to code cleanup

    ganto committed Sep 21, 2017
  3. Set SSH jail name according to distribution default

    ganto committed Sep 21, 2017
  4. Revert "Enhance upstream jail fix to also adjust ssh jail name"

    ganto committed Sep 21, 2017
    This reverts commit d931d21.
Commits on Apr 22, 2017
  1. Fixed: Bug "'int' object is not iterable"

    igormukhingmailcom committed Apr 22, 2017
    Hi.
    When you specifying integer values at `fail2ban_jails` (for example, `maxretry: 2` - without quotes - rather than `maxretry: "2"`) role will fail with error `'int' object is not iterable` because it was tried to `join(,)` anything that is not string. It was easy to get that error (don't like write integers with quotes) but not easy to find. 
    Now this fixed. Merge please :)
    
    ```
    failed: [dev.cardinalcorp.com] (item={u'name': u'ssh', u'enabled': u'true', u'logpath': u'/var/log/auth.log', u'filter': u'sshd', u'maxretry': 6, u'port': u'ssh'}) => {
        "failed": true, 
        "invocation": {
            "module_args": {
                "dest": "/etc/fail2ban/jail.local.d/ssh.local", 
                "group": "root", 
                "mode": "0644", 
                "owner": "root", 
                "src": "etc/fail2ban/jail.local.d/jail.local.j2"
            }, 
            "module_name": "template"
        }, 
        "item": {
            "enabled": "true", 
            "filter": "sshd", 
            "logpath": "/var/log/auth.log", 
            "maxretry": 6, 
            "name": "ssh", 
            "port": "ssh"
        }, 
        "msg": "AnsibleError: Unexpected templating type error occurred on ({% if item.comment is defined and item.comment %}\n# {{ item.comment }}\n{% endif %}\n[{{ item.name }}]\n{% for key, value in item.iteritems() %}\n{%   if key not in [ 'name', 'filename', 'delete', 'comment', 'action', 'ignoreip' ] %}\n{%     if value is string %}\n{{ \"%-14s = %s\" | format(key, value) }}\n{%     else %}\n{{ \"%-14s = %s\" | format(key, value | join(\",\")) }}\n{%     endif %}\n{%   elif key == 'action' %}\naction         = {{ \"%(\" + value + \")s\" }}\n{%   elif key == 'ignoreip' %}\nignoreip       = {{ value | join(\" \") }}\n{%   endif %}\n{% endfor %}\n\n): 'int' object is not iterable"
    ```
Commits on Mar 15, 2017
  1. Merge branch 'ganto-default-jail'

    drybjed committed Mar 15, 2017
  2. Add note to changelog about possible breakage on Ubuntu

    ganto committed Mar 15, 2017
  3. Divert original jail.conf before modification

    ganto committed Mar 15, 2017
Commits on Mar 14, 2017
  1. Adjust changelog to latest code changes

    ganto committed Mar 14, 2017
Commits on Mar 13, 2017
  1. Convert changelog to new format

    ganto committed Mar 13, 2017
Commits on Dec 1, 2016
  1. Merge branch 'drybjed-prepare-v0.1.1'

    drybjed committed Dec 1, 2016
  2. Prepare v0.1.1 release

    drybjed committed Dec 1, 2016
Commits on Nov 19, 2016
  1. Merge branch 'AnBuKu-patch-1'

    drybjed committed Nov 19, 2016
  2. regexp

    AnBuKu committed Nov 19, 2016
    added link to wikipedia in case someone don't know the term
Commits on Jun 18, 2016
  1. Merge branch 'prahal-fix-loglevel'

    drybjed committed Jun 18, 2016
  2. Fix loglevel error in fail2ban logs.

    prahal committed Jun 18, 2016
    Numeral loglevels are not supported.
    THe jail.conf manpage advertises : CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG. Default: ERROR
    
    This fix the following error message from fail2ban logs (even though fail2ban startup succeed. I expect
    it to fallback to the default loglevel).
    
    fail2ban-client[11818]: ERROR  NOK: ('Invalid log level',)
Commits on Apr 4, 2016
  1. Merge pull request #7 from carlalexander/patch-1

    drybjed committed Apr 4, 2016
    Removed deprecation warnings
Commits on Apr 3, 2016
  1. Removed deprecation warnings

    carlalexander committed Apr 3, 2016
Commits on Mar 12, 2016
  1. Merge pull request #5 from carlalexander/master

    drybjed committed Mar 12, 2016
    Added support for custom actions and filters
  2. Added support for custom local actions and filters

    carlalexander committed Mar 1, 2016
Commits on Oct 9, 2015
  1. Merge pull request #1 from scibi/master

    drybjed committed Oct 9, 2015
    ownCloud filter and Jessie compatibility
  2. Use local suffix for owncloud filter

    scibi committed Oct 9, 2015
  3. Updated changelog

    scibi committed Oct 9, 2015
  4. Added ownCloud filter

    scibi committed Oct 9, 2015
Commits on Apr 10, 2015
  1. Add Ansible Galaxy information

    drybjed committed Apr 10, 2015
  2. Initial release

    drybjed committed Apr 10, 2015
You can’t perform that action at this time.