Skip to content

devopstoolbox/flatpak

Repository files navigation

Role Name

flatpak

Build Status

Ansible galaxy:

https://galaxy.ansible.com/devopstoolbox.flatpak

ansible-galaxy install devopstoolbox.flatpak

Requirements

  • For RHEL, a Red Hat subscription or functional local repository.

Role Variables

# 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

Dependencies

  • For Red Hat, subscription-manager.

Example Playbook

---
- name: Install flatpak on localhost
  hosts:
    - localhost
  connection: local

  tasks:
    - name: flatpak is configured
      import_role:
        name: devopstoolbox.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

License

MIT

Author Information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published