# vim: set filetype=yaml.ansible : --- - name: Install appimage become: "{{ ext_become }}" block: - name: Ensure appimage path exists ansible.builtin.file: path: "{{ path.appimage }}/{{ pkg.link_name }}" mode: '0755' state: directory - name: Fetch appimage become: "{{ ext_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: "{{ ext_become }}" ansible.builtin.file: state: link src: "{{ path.appimage }}/{{ pkg.link_name }}/{{ pkg.file }}" path: "{{ path.bindir }}/{{ pkg.link_name }}"