Ansible role for managing appimage application installations.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-22 10:52:17 -04:00
defaults Added support for checking sha256 and replacing 2026-05-22 10:52:17 -04:00
files Initial commit 2023-01-31 13:07:15 +01:00
handlers Initial commit 2023-01-31 13:07:15 +01:00
meta resolves #1 (#2) 2023-03-14 10:55:30 +01:00
molecule/default resolves #1 (#2) 2023-03-14 10:55:30 +01:00
tasks Added support for checking sha256 and replacing 2026-05-22 10:52:17 -04:00
vars Initial commit 2023-01-31 13:07:15 +01:00
.yamllint Initial commit 2023-01-31 13:07:15 +01:00
README.md Added support for checking sha256 and replacing 2026-05-22 10:52:17 -04:00

Role spreadcat.appimage

Role which deploys appimage applications on the local host.

Requirements

  • Internet access for downloading the appimage images.
  • root rights on the target host.

Role Variables

appimage_download_urls: list
  • List of download URLs for appimage files.

Other Variables

appimage_binary_dir: str
  • Path to the directory where to store the links for the appimage files.
appimage_group: str
  • Group of the appimage installation directory.
appimage_installation_dir: str
  • Path for storing the installed appimage files.
appimage_owner: str
  • Owner of the appimage installation directory.

Dependencies

  • None

Example Playbook

The following example would install two appimage applications:

  1. appimage01
  2. appimage02

The first application appimage01 will be installed and can be started by running appimage01. The second application appimage02 will be installed and can be started by running my_app. The third application appimage03 will be installed with a SHA256 checksum verification.

The parameter state is optional when installing, mandatory when removing and needs to be set to state: absent then. The parameter sha256 is optional and will be used to verify the integrity of the downloaded file. If the file exists but the checksum doesn't match, it will be deleted and re-downloaded.

---
- hosts: all
  vars:
    appimage_download_urls:
      - 'https://example.com/appimage01.image'
      - name: 'my_app'
        url: 'https://example.com/appimage02.image'
        state: present
      - url: 'https://example.com/appimage03.image'
        sha256: '...'
  roles:
     - role: spreadcat.appimage

License

BSD

Author Information

This role is written an maintained by DBV.