don_rumata.ansible_role_install_flatpak

Ansible Role: Install Flatpak and Add Flathub Repository

License Ansible Galaxy CircleCI Ansible Galaxy Quality

This role installs Flatpak on Linux.

Supported Platforms

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

Requirements

Minimum Ansible version: 2.6

Role Variables

No variables required.

Dependencies

No dependencies.

Example Playbook

Use the following example to install Firefox via Flatpak in a file named install-firefox-over-flatpak.yml:

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

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

License

This role is licensed under Apache License, Version 2.0.

Author Information

Created by don Rumata

TODO

  • Add tests.
  • Add more tests.
Installa
ansible-galaxy install don_rumata.ansible_role_install_flatpak
Licenza
apache-2.0
Download
6.1k
Proprietario
Здесь все бесполезно. Знаний не хватает, а золото теряет цену, потому что опаздывает.