Skip to content

alvistack/ansible-collection-gnome

Repository files navigation

Ansible Collection for Gnome

AlviStack

Gitlab pipeline status GitHub tag GitHub license Ansible Collection

Ansible collection for deploying Gnome.

This Ansible collection provides Ansible playbooks and roles for the deployment and configuration of an Gnome environment.

Requirements

This collection require Ansible community package 4.10 or higher.

This collection was designed for:

  • Ubuntu 20.04, 22.04, 24.04, 24.10
  • AlmaLinux 8, 9
  • openSUSE Leap 15.5, Tumbleweed
  • Debian 11, 12, Testing
  • Fedora 39, 40, Rawhide
  • CentOS 7, 8 Stream, 9 Stream
  • RHEL 7, 8, 9

Quick Start

Bootstrap Ansible and Roles

Start by cloning the repository, checkout the corresponding branch, and init with git submodule, then install Ansible (see https://software.opensuse.org/download/package?package=ansible&project=home%3Aalvistack):

# GIT checkout development branch
mkdir -p /opt/ansible-collection-gnome
cd /opt/ansible-collection-gnome
git init
git remote add upstream https://github.com/alvistack/ansible-collection-gnome.git
git fetch --all --prune
git checkout upstream/develop -- .
git submodule sync --recursive
git submodule update --init --recursive

# Bootstrap Ansible
echo 'deb http://downloadcontent.opensuse.org/repositories/home:/alvistack/xUbuntu_24.04/ /' | tee /etc/apt/sources.list.d/home:alvistack.list
curl -fsSL https://downloadcontent.opensuse.org/repositories/home:alvistack/xUbuntu_24.04/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_alvistack.gpg > /dev/null
apt update
apt install ansible

# Confirm the version of Ansible
ansible --version

AIO

All-in-one (AIO) build is a great way to perform an Gnome build for:

  • A development environment
  • An overview of how all the Gnome services fit together
  • A simple lab deployment

Simply execule our default Molecule test case and it will deploy all default components into your localhost:

# Run Molecule test case
molecule test -s default

Molecule

You could also run our Molecule test cases if you have Vagrant and Libvirt installed, e.g.

# Run Molecule on Ubuntu 24.04
molecule converge -s ubuntu-24.04

Please refer to .gitlab-ci.yml for more information on running Molecule.

Versioning

YYYYMMDD.Y.Z

Release tags could be find from GitHub Release of this repository. Thus using these tags will ensure you are running the most up to date stable version of this image.

YYYYMMDD.0.0

Version tags ended with .0.0 are rolling release rebuild by GitLab pipeline in weekly basis. Thus using these tags will ensure you are running the latest packages provided by the base image project.

License

Author Information