Add more roles and start adding packages
This commit is contained in:
37
roles/fedora_workstation/README.md
Normal file
37
roles/fedora_workstation/README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Fedora Workstation Role
|
||||
|
||||
Ansible role for configuring and managing Fedora Workstation installations.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Fedora Workstation (tested on latest stable release)
|
||||
- Ansible 2.9 or higher
|
||||
|
||||
## Role Variables
|
||||
|
||||
Available variables are listed below, along with default values (see `defaults/main.yml`):
|
||||
|
||||
```yaml
|
||||
# Add variables here as they are implemented
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
None.
|
||||
|
||||
## Example Playbook
|
||||
|
||||
```yaml
|
||||
- hosts: workstations
|
||||
become: true
|
||||
roles:
|
||||
- fedora_workstation
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
See repository LICENSE file.
|
||||
|
||||
## Author Information
|
||||
|
||||
This role was created for managing Fedora Workstation laptops.
|
||||
2
roles/fedora_workstation/defaults/main.yml
Normal file
2
roles/fedora_workstation/defaults/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
# defaults file for fedora_workstation
|
||||
2
roles/fedora_workstation/handlers/main.yml
Normal file
2
roles/fedora_workstation/handlers/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
# handlers file for fedora_workstation
|
||||
22
roles/fedora_workstation/meta/main.yml
Normal file
22
roles/fedora_workstation/meta/main.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: your_name
|
||||
description: Fedora Workstation configuration and management
|
||||
company: your_company (optional)
|
||||
|
||||
license: license (GPL-2.0-or-later, MIT, etc)
|
||||
|
||||
min_ansible_version: "2.9"
|
||||
|
||||
platforms:
|
||||
- name: Fedora
|
||||
versions:
|
||||
- all
|
||||
|
||||
galaxy_tags:
|
||||
- fedora
|
||||
- workstation
|
||||
- desktop
|
||||
- laptop
|
||||
|
||||
dependencies: []
|
||||
11
roles/fedora_workstation/tasks/main.yml
Normal file
11
roles/fedora_workstation/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
# tasks file for fedora_workstation
|
||||
|
||||
- name: Ensure essential packages are installed
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- zsh
|
||||
- curl
|
||||
- wget
|
||||
state: present
|
||||
become: true
|
||||
2
roles/fedora_workstation/vars/main.yml
Normal file
2
roles/fedora_workstation/vars/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
# vars file for fedora_workstation
|
||||
Reference in New Issue
Block a user