restructured playbooks, cleanup

This commit is contained in:
2021-06-25 01:33:02 +02:00
parent 188a9215a9
commit a61d08d118
9 changed files with 125 additions and 160 deletions

19
base.yml Normal file
View File

@@ -0,0 +1,19 @@
---
- hosts: all
tasks:
- name: "install epel repo" # for htop etc.
yum:
name: epel-release
state: present
- name: "install tools"
yum:
name: [ vim-enhanced, htop, screen, bind-utils, nmap-ncat, net-tools ]
state: present
- name: "install ssh-key"
authorized_key:
user: "{{cfg_unpriv_user}}"
key: "{{cfg_ssh_key}}"
state: present