/ansible-role-install-flatpak

Ansible Role: Install Flatpak and add Flathub repo

Apache License 2.0Apache-2.0

Ansible Role: Install Flatpak and add Flathub repo

License Ansible Galaxy CircleCI Ansible Galaxy Quality

Install Flatpak for Linux.

Work on

  platforms:
    - name: Fedora
      versions:
        - 33
    - name: Ubuntu
      versions:
        - focal
        - bionic
        - xenial
    - name: Debian
      version:
        - jessie
        - stretch
        - buster
        - stable
        - testing
    - name: EL (CentOS)
      versions:
        - 8
        - 7
    - name: opensuse
      vesrion:
        - tumbleweed
    - name: ArchLinux
      version:
        - any

Requirements

min_ansible_version: 2.6

Role Variables

None.

Dependencies

None.

Example Playbook

install-firefox-over-flatpak.yml:

- name: Install FireFox
  hosts: all
  strategy: free
  serial:
    - "100%"
  roles:
    - ansible-role-install-flatpak
  tasks:

    - name: Install FF over flatpak
      become: yes
      flatpak:
        name: https://flathub.org/repo/appstream/org.mozilla.firefox.flatpakref
        method: system
        state: present
      tags:
        - firefox
        - flatpak

License

Apache License, Version 2.0

Author Information

don Rumata

TODO

  • Add tests.
  • Add more tests.