Skip to content

don-rumata/ansible-role-install-flatpak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.