Enable additional ZIM archives for kiwix
New archives (~95G total): - Project Gutenberg 2023 (72G) - 60,000+ public domain books - iFixit (3.3G) - Repair guides - Stack Exchange: SuperUser (3.7G), Math (6.9G) - LibreTexts: Biology, Chemistry, Engineering, Mathematics, Physics, Humanities Also: - Fix transmission to only restart when config changes - Update CLAUDE.md to use full ansible paths Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
2a6fcd915c
commit
4add1684c3
3 changed files with 40 additions and 29 deletions
|
|
@ -21,8 +21,19 @@
|
|||
path: ~/.config/transmission-daemon
|
||||
state: absent
|
||||
|
||||
# Note: transmission must be stopped before modifying settings.json
|
||||
# otherwise it may overwrite our changes on shutdown
|
||||
- name: Check if settings.json needs updating
|
||||
ansible.builtin.template:
|
||||
src: settings.json.j2
|
||||
dest: "{{ transmission_config_dir }}/settings.json"
|
||||
mode: '0644'
|
||||
check_mode: true
|
||||
register: settings_check
|
||||
|
||||
- name: Stop transmission before config changes
|
||||
ansible.builtin.command: brew services stop transmission-cli
|
||||
when: settings_check.changed
|
||||
register: brew_stop
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue