mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-21 07:41:09 +02:00
Added draft for neovim and micro
This commit is contained in:
parent
e1d36045da
commit
3951376a29
31
roles/desk-micro/README.md
Normal file
31
roles/desk-micro/README.md
Normal file
@ -0,0 +1,31 @@
|
||||
# Desk-micro Role for Ansible
|
||||
|
||||
## Overview
|
||||
This role automates the installation of micro, a CLI text editor, on Pacman‑based systems. It uses the `community.general.pacman` module to ensure the editor is installed and up to date.
|
||||
|
||||
## Requirements
|
||||
- Ansible 2.9 or higher
|
||||
- Access to the Pacman package manager (e.g., Arch Linux and derivatives)
|
||||
|
||||
## Role Variables
|
||||
No additional role variables are required; this role solely manages the installation of the editor.
|
||||
|
||||
## Dependencies
|
||||
None.
|
||||
|
||||
## Example Playbook
|
||||
```yaml
|
||||
- hosts: all
|
||||
roles:
|
||||
- desk-micro
|
||||
```
|
||||
|
||||
## Further Resources
|
||||
- Official micro documentation:
|
||||
https://micro-editor.github.io/
|
||||
|
||||
## Contributing
|
||||
Contributions are welcome! Please follow standard Ansible role conventions and best practices.
|
||||
|
||||
## Other Resources
|
||||
For more context on this role and its development, see the related ChatGPT conversation.
|
25
roles/desk-micro/meta/main.yml
Normal file
25
roles/desk-micro/meta/main.yml
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen‑Birchenbach"
|
||||
description: "Installs micro CLI text editor on Pacman‑based systems."
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
Kevin Veen‑Birchenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
galaxy_tags:
|
||||
- micro
|
||||
- editor
|
||||
- cli
|
||||
repository: "https://github.com/kevinveenbirkenbach/cymais"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/cymais/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/cymais/tree/main/roles/desk-micro"
|
||||
logo:
|
||||
class: "fas fa-terminal"
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- all
|
||||
dependencies: []
|
6
roles/desk-micro/tasks/main.yml
Normal file
6
roles/desk-micro/tasks/main.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install micro
|
||||
community.general.pacman:
|
||||
name:
|
||||
- micro
|
||||
state: present
|
2
roles/desk-micro/vars/main.yml
Normal file
2
roles/desk-micro/vars/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
# Internal configuration
|
||||
application_id: desk-micro
|
31
roles/desk-neovim/README.md
Normal file
31
roles/desk-neovim/README.md
Normal file
@ -0,0 +1,31 @@
|
||||
# Desk-neovim Role for Ansible
|
||||
|
||||
## Overview
|
||||
This role automates the installation of neovim, a CLI text editor, on Pacman‑based systems. It uses the `community.general.pacman` module to ensure the editor is installed and up to date.
|
||||
|
||||
## Requirements
|
||||
- Ansible 2.9 or higher
|
||||
- Access to the Pacman package manager (e.g., Arch Linux and derivatives)
|
||||
|
||||
## Role Variables
|
||||
No additional role variables are required; this role solely manages the installation of the editor.
|
||||
|
||||
## Dependencies
|
||||
None.
|
||||
|
||||
## Example Playbook
|
||||
```yaml
|
||||
- hosts: all
|
||||
roles:
|
||||
- desk-neovim
|
||||
```
|
||||
|
||||
## Further Resources
|
||||
- Official neovim documentation:
|
||||
https://neovim.io/
|
||||
|
||||
## Contributing
|
||||
Contributions are welcome! Please follow standard Ansible role conventions and best practices.
|
||||
|
||||
## Other Resources
|
||||
For more context on this role and its development, see the related ChatGPT conversation.
|
25
roles/desk-neovim/meta/main.yml
Normal file
25
roles/desk-neovim/meta/main.yml
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen‑Birchenbach"
|
||||
description: "Installs neovim CLI text editor on Pacman‑based systems."
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
Kevin Veen‑Birchenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
galaxy_tags:
|
||||
- neovim
|
||||
- editor
|
||||
- cli
|
||||
repository: "https://github.com/kevinveenbirkenbach/cymais"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/cymais/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/cymais/tree/main/roles/desk-neovim"
|
||||
logo:
|
||||
class: "fab fa-vim"
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- all
|
||||
dependencies: []
|
6
roles/desk-neovim/tasks/main.yml
Normal file
6
roles/desk-neovim/tasks/main.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install neovim
|
||||
community.general.pacman:
|
||||
name:
|
||||
- neovim
|
||||
state: present
|
2
roles/desk-neovim/vars/main.yml
Normal file
2
roles/desk-neovim/vars/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
# Internal configuration
|
||||
application_id: desk-neovim
|
Loading…
x
Reference in New Issue
Block a user