packages

ansible-role-packages: install packages on system

Install packages on your system (any that has an Ansible supported package manager), alongside Snap or Flatpak software.

Role Variables

packages:
  # Groups to install
  enabled_groups:
    - base
    - office

  # Snap packages
  snap:
    dev:
      - { name: "webstorm", classic: true }

  # Flatpak packages
  flatpak:
    office:
      - org.freefilesync.FreeFileSync

  # System packages
  system:
    base:
      - firewall-config
      - seahorse
    codecs:
      - "@Multimedia"
    office:
      - evolution
      - qpdf

Example playbook

---
- hosts: localhost
  become: true
  connection: local

  vars:
      packages:
      # Groups to install
      enabled_groups:
        - base

      # Flatpak packages
      flatpak:
        base:
          - org.freefilesync.FreeFileSync

      # System packages
      system:
        base:
          - firewall-config
          - seahorse

  roles:
    - guilieb.packages

Author Information

Guillaume Bernard

About

A simple Ansible role to install packages (RPM, Deb, Flatpak, Snaps) on your system.

Install
ansible-galaxy install guilieb/ansible-role-packages
GitHub repository
License
gpl-3.0
Downloads
44
Owner
Software Engineer & Data Scientist @ MAIF