Flatpak

Document Control

TODO:

  • Overall structure.
  • Initial draft complete
  • Testing
  • Ready

Ansible Role Ansible Quality Score Build Status GitHub issues GitHub last commit

User Story: Flatpak

As a: UNIX and Linux system administrator

I want to: Install software using flatpak as root or regular users

So that: I can install new applications without uinsg the OS package manager.

Using the role

Using the role in a playbook
---
- name: Install flatpak on localhost
  hosts: all

  tasks:
    - name: flatpak is configured
      import_role:
        name: crivetimihai.flatpak
      vars:
        # Flatpak method: user or system
        flatpak_method: system

        # Flatpacks repos
        flatpak_repos:
          - https://dl.flathub.org/repo/flathub.flatpakrepo

        # Packages to install
        flatpak_packages:
          - io.neovim.nvim
          - org.gnu.emacs
          - com.visualstudio.code
          - com.slack.Slack
          - com.wps.Office
          - com.skype.Client
          - com.spotify.Client
          - com.obsproject.Studio
          - net.xmind.ZEN
      tags: flatpak
# Install the role
ansible-galaxy install crivetimihai.flatpak

# Run the playbook
ansible-playbook flatpak-playbook.yml

Last update: 2020-02-04