more fixs being done

This commit is contained in:
Matthew Stobbs
2025-02-21 09:54:07 -07:00
parent 481385af57
commit 4b995a3c07
16 changed files with 162 additions and 95 deletions

26
tasks/appimage.yml Normal file
View File

@@ -0,0 +1,26 @@
# vim: set filetype=yaml.ansible :
---
- name: Install appimage
become: "{{ archive_become }}"
block:
- name: Ensure appimage path exists
ansible.builtin.file:
path: "{{ path.appimage }}/{{ pkg.link_name }}"
mode: '0755'
state: directory
- name: Fetch appimage
become: "{{ archive_become }}"
ansible.builtin.get_url:
mode: '0755'
decompress: false
backup: true
url: "{{ pkg.url }}"
dest: "{{ path.appimage }}/{{ pkg.link_name }}/{{ pkg.file }}"
- name: Link appimage to bin
become: "{{ archive_become }}"
ansible.builtin.file:
state: link
src: "{{ path.appimage }}/{{ pkg.link_name }}/{{ pkg.file }}"
path: "{{ path.bindir }}/{{ pkg.link_name }}"