The role installs and configure ipset
- role: ipset
- role: ipset
lists:
- {name: cf-v4, family: inet}
- {name: cf-v6, family: inet6}
- {name: client-ssh, family: inet, uri: http://projectname.ossdata.ru/ipset136/client-ssh}
- role: ipset
update_lists: false
lists:
- name: custom-v4
family: inet
ips:
- 123.123.123.123
- 234.234.234.234
- name: custom-v6
family: inet6
ips:
- 2001:19f0:210:125d::436
- 2607:fcd0:bb70:1e00::4020
Param | Default | Description |
---|---|---|
ipset_setup |
full |
Setup mode. See OSSHelp KB article |
ipset_default_lists |
See next header. | Default ipset lists |
lists |
[] |
Custom ipset lists |
By default the role installs 4 ipset lists:
ipset_default_lists:
- {name: oss-v4, family: inet}
- {name: oss-v6, family: inet6}
- {name: oss-probe-v4, family: inet}
- {name: oss-probe-v6, family: inet6}
Additonal lists can be enabled using these parameters:
Param | Default | Description |
---|---|---|
name |
- | name of an ipset list, any name, e.g. client-ssh |
family |
- | family of an ipset list, inet or inet6 |
uri |
- | url which contains a list of IPs for a specific ipset list |
ips |
- | list of IP adresses for list |
- improve check mode support. Some task disabled for check mode
- delete update_lists param
GPL3
OSSHelp Team, see https://oss.help