Skip to content

Flameshot Ansible Role

An Ansible role to install, configure, and manage flameshot on Debian-based systems.

Features

  • Installs flameshot on debian systems
  • Uninstalls flameshot on debian systems

Installation

First add the following line to your requirements.yml file:

roles:
  - name: flameshot
    src: https://gitlab.com/niclas-zone/tools/ansible/roles/flameshot.git
    version: main
    scm: git

After that, install the role by executing the following command:

ansible-galaxy install -r requirements.yml --force

Role Variables

Variable Default Value Type Description
flameshot_state present string Desired package state (present or absent)
flameshot_packages flameshot string Packages needed for flameshot
ansible_managed_warning "This file is managed by Ansible. Manual changes will be overwritten." string Warning text included in Ansible-managed files
ansible_role_repository https://gitlab.com/niclas-zone/tools/ansible/roles/podman string Repository link where the role is maintained

Example Playbooks

Basic Installation

---
- hosts: all
  become: true
  roles:
    - role: flameshot
      vars:
        flameshot_state: present

Uninstall a Package

---
- hosts: all
  become: true
  roles:
    - role: flameshot
      vars:
        flameshot_state: absent