mirror of
https://github.com/erenfro/ansible-role-appimage.git
synced 2026-08-14 15:21:26 -04:00
Ansible role for managing appimage application installations.
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| defaults | ||
| files | ||
| handlers | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| vars | ||
| .yamllint | ||
| README.md | ||
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:
- appimage01
- 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.