Rolle Grundsoftware aufgenommen

This commit is contained in:
Stefan Mewes
2025-11-21 14:30:18 +01:00
parent d506a7b5b3
commit 97e9c8d7fd
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
grundsoftware_packages:
- htop
- nano
- mc
- git
- wget
- sudo
- curl
ssh_config_git_host: git.nauheimtech.de
ssh_config_git_port: 11022

View File

@@ -0,0 +1,13 @@
---
- name: Eintrag in /etc/ssh/ssh_config hinzufuegen
blockinfile:
path: /etc/ssh/ssh_config
block: |
Host {{ ssh_config_git_host }}
Port {{ ssh_config_git_port }}
marker: "# {mark} ANSIBLE SSH CONFIG BLOCK"
- name: Benoetigte Pakete installieren
package:
name: "{{ grundsoftware_packages }}"
state: present