Add more roles and start adding packages
This commit is contained in:
38
roles/fedora_gnome_workstation/README.md
Normal file
38
roles/fedora_gnome_workstation/README.md
Normal 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
|
||||
2
roles/fedora_gnome_workstation/defaults/main.yml
Normal file
2
roles/fedora_gnome_workstation/defaults/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
# defaults file for fedora_gnome_workstation
|
||||
2
roles/fedora_gnome_workstation/handlers/main.yml
Normal file
2
roles/fedora_gnome_workstation/handlers/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
# handlers file for fedora_gnome_workstation
|
||||
19
roles/fedora_gnome_workstation/meta/main.yml
Normal file
19
roles/fedora_gnome_workstation/meta/main.yml
Normal 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: []
|
||||
31
roles/fedora_gnome_workstation/tasks/main.yml
Normal file
31
roles/fedora_gnome_workstation/tasks/main.yml
Normal 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
|
||||
2
roles/fedora_gnome_workstation/vars/main.yml
Normal file
2
roles/fedora_gnome_workstation/vars/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
# vars file for fedora_gnome_workstation
|
||||
Reference in New Issue
Block a user