i2p - rewrite list file for use with cacher, if needed

This commit is contained in:
unman 2025-04-17 00:24:59 +00:00
parent a40fd44d35
commit 18fab866c1
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C

View File

@ -49,6 +49,16 @@
{% endif %}
{% endif %}
{% if salt['pillar.get']('update_proxy:caching') %}
i2p_list_cacher:
file.replace:
- name: /etc/apt/sources.list.d/i2p.list
- pattern: 'https://'
- repl: 'http://HTTPS///'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
- backup: False
{% endif %}
upgrade:
pkg.uptodate:
- refresh: True
@ -56,11 +66,11 @@ upgrade:
install:
pkg.installed:
- refresh: True
- pkgs:
- qubes-core-agent-networking
- firefox-esr
- i2p
- i2p-keyring
- refresh: True
{% endif %}