We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d20ee58 commit 66ea11fCopy full SHA for 66ea11f
1 file changed
pillar/ufw_simple/http_https_googlebot.sls
@@ -5,7 +5,7 @@ ufw_simple:
5
http_https_googlebot:
6
proto: 'tcp'
7
from:
8
-{% set googlebot_nets = salt["cmd.shell"]("curl -Ss https://developers.google.com/search/apis/ipranges/googlebot.json |jq -r '.prefixes | .[] |.ipv4Prefix//empty,.ipv6Prefix//empty'") %}
+{% set googlebot_nets = salt["cmd.shell"]("curl -Ss https://developers.google.com/static/crawling/ipranges/common-crawlers.json |jq -r '.prefixes | .[] |.ipv4Prefix//empty,.ipv6Prefix//empty'") %}
9
{% for googlebot_net in googlebot_nets.split("\n") %}
10
googlebot_{{ loop.index }}: {{ googlebot_net }}
11
{% endfor %}
0 commit comments