restructured playbooks, cleanup
This commit is contained in:
19
base.yml
Normal file
19
base.yml
Normal 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
|
||||
|
Reference in New Issue
Block a user