refactor: remove zsync tasks from global Ansible configuration
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
This commit is contained in:
parent
8c587958b6
commit
19f1bc18e1
@ -36,6 +36,3 @@
|
|||||||
|
|
||||||
- name: Include pipx tasks
|
- name: Include pipx tasks
|
||||||
ansible.builtin.import_tasks: tasks/global/pipx.yml
|
ansible.builtin.import_tasks: tasks/global/pipx.yml
|
||||||
|
|
||||||
- name: Include zsync tasks
|
|
||||||
ansible.builtin.import_tasks: tasks/global/zsync.yml
|
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user