Add more roles and start adding packages

This commit is contained in:
2025-12-28 11:11:10 +01:00
parent 1be3ba7e32
commit 89ef349a04
15 changed files with 224 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# Fedora GNOME Workstation Role
Ansible role for configuring Fedora GNOME workstation with custom extensions and settings.
## Requirements
- Fedora with GNOME desktop environment
- Ansible 2.9 or higher
- `community.general` collection (for flatpak modules)
## Role Variables
No variables currently defined.
## Dependencies
None.
## Example Playbook
```yaml
- hosts: workstations
roles:
- fedora_gnome_workstation
```
## License
MIT
## Installed Packages
### DNF Packages
- gnome-shell-extension-pop-shell - Tiling window management for GNOME
- flatpak - Flatpak application framework
### Flatpak Applications (from Flathub)
- com.mattjakeman.ExtensionManager - Manage GNOME Shell extensions

View File

@@ -0,0 +1,2 @@
---
# defaults file for fedora_gnome_workstation

View File

@@ -0,0 +1,2 @@
---
# handlers file for fedora_gnome_workstation

View File

@@ -0,0 +1,19 @@
---
galaxy_info:
author: your_name
description: Fedora GNOME Workstation configuration
license: MIT
min_ansible_version: '2.9'
platforms:
- name: Fedora
versions:
- all
galaxy_tags:
- fedora
- gnome
- workstation
- desktop
dependencies: []

View File

@@ -0,0 +1,31 @@
---
# tasks file for fedora_gnome_workstation
- name: Ensure GNOME shell extensions are installed
ansible.builtin.dnf:
name:
- gnome-shell-extension-pop-shell
state: present
become: true
- name: Ensure flatpak is installed
ansible.builtin.dnf:
name:
- flatpak
state: present
become: true
- name: Add flathub repository
community.general.flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
become: true
- name: Install flatpak applications from flathub
community.general.flatpak:
name:
- com.mattjakeman.ExtensionManager
state: present
remote: flathub
become: true

View File

@@ -0,0 +1,2 @@
---
# vars file for fedora_gnome_workstation