refactor: remove zsync tasks from global Ansible configuration
Some checks failed
Nix Format Check / check-format (push) Failing after 38s

This commit is contained in:
Menno van Leeuwen 2025-03-06 11:30:08 +01:00
parent 8c587958b6
commit 19f1bc18e1
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
2 changed files with 0 additions and 41 deletions

View File

@ -36,6 +36,3 @@
- name: Include pipx tasks
ansible.builtin.import_tasks: tasks/global/pipx.yml
- name: Include zsync tasks
ansible.builtin.import_tasks: tasks/global/zsync.yml

View File

@ -1,38 +0,0 @@
- name: Check if zsync is installed
ansible.builtin.command: zsync -V
register: zsync_installed
ignore_errors: true
- name: Install zsync from source
ansible.builtin.get_url:
url: http://zsync.moria.org.uk/download/zsync-0.6.2.tar.bz2
dest: /tmp/zsync-0.6.2.tar.bz2
mode: '0644'
when: zsync_installed.rc != 0
- name: Extract zsync source
ansible.builtin.unarchive:
src: /tmp/zsync-0.6.2.tar.bz2
dest: /tmp
remote_src: false
creates: /tmp/zsync-0.6.2
when: zsync_installed.rc != 0
- name: Install zsync from source (./configure)
ansible.builtin.command: ./configure
args:
chdir: /tmp/zsync-0.6.2
when: zsync_installed.rc != 0
- name: Install zsync from source (make)
ansible.builtin.command: make
args:
chdir: /tmp/zsync-0.6.2
when: zsync_installed.rc != 0
- name: Install zsync from source (sudo make install)
ansible.builtin.command: make install
args:
chdir: /tmp/zsync-0.6.2
become: true
when: zsync_installed.rc != 0