diff --git a/config/ansible/tasks/global/global.yml b/config/ansible/tasks/global/global.yml index 5f0ac84..0d9e237 100644 --- a/config/ansible/tasks/global/global.yml +++ b/config/ansible/tasks/global/global.yml @@ -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 diff --git a/config/ansible/tasks/global/zsync.yml b/config/ansible/tasks/global/zsync.yml deleted file mode 100644 index 6b501ef..0000000 --- a/config/ansible/tasks/global/zsync.yml +++ /dev/null @@ -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