1
0
Fork 0

Added common role and local

This commit is contained in:
Booklordofthedings 2025-06-04 12:09:11 +02:00
parent 77e0ffa5a1
commit 2d8fbcc22a
4 changed files with 38 additions and 6 deletions

6
.gitignore vendored
View file

@ -1,3 +1,3 @@
# ---> Ansible
*.retry
# ---> Ansible
*.retry

View file

@ -1,3 +1,16 @@
# Ansible-Config
My personal Ansible Configuration
# Ansible-Config
This project aims to be my personal ansible configuration for setup and maintainance of my server
and client machines.
### Setup
This is ran on the machines to set themselves up to be in a useable state.
Either for Workstations or Servers
```
sudo apt install ansible
ansible-pull -o -U https://code.booklordofthe.dev/Booklordofthedings/Ansible-Config
```
### Update
Machines being able to keep themselves up to date automatically,
currently not supported yet

7
local.yml Normal file
View file

@ -0,0 +1,7 @@
---
- name: Workmachine Setup
become: true
hosts:
- localhost
roles:
- common

View file

@ -0,0 +1,12 @@
---
- name: Install Micro (Text editor)
ansible.builtin.command:
cmd: curl https://getmic.ro | bash
- name: Install packages
apt:
update_cache: true
pkg:
- git
- neofetch