Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# State
# Blacklist
ipset_set_blacklist_exists:
ipset.set_present:
- name: blacklist
- set_type: hash:ip
- hashsize: 4096
- family: ipv4
- comment: blackist
ipset_set_blacklist_entries:
ipset.present:
- set_name: blacklist
- entry:
- 67.214.157.20 # ebaumsworld.com
- require:
- ipset: ipset_set_blacklist_exists
- comment: blacklist entries
# Output:
----------
ID: ipset_set_blacklist_exists
Function: ipset.set_present
Name: blacklist
Result: False
Comment: Failed to create set blacklist for ipv4: ipset v6.16.1: Unknown argument: `comment'
Try `ipset help' for more information.
Started: 19:21:31.344797
Duration: 17.91 ms
Changes:
----------
ID: ipset_set_blacklist_entries
Function: ipset.present
Result: False
Comment: One or more requisite failed: iptables.ipset_set_blacklist_exists
Changes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.