2017-04-25 14:47:04 +02:00
|
|
|
- group:
|
|
|
|
name: admin
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Passwordless sudo for admins
|
|
|
|
lineinfile: dest=/etc/sudoers line="%admin ALL=(ALL:ALL) NOPASSWD:ALL"
|
|
|
|
|
|
|
|
- include: users.yml
|
|
|
|
|
|
|
|
- name: common | install packages
|
|
|
|
apt: pkg={{ item }} state=latest update_cache=yes
|
|
|
|
with_items:
|
2018-05-04 15:40:38 +02:00
|
|
|
- curl
|
|
|
|
- htop
|
|
|
|
- molly-guard
|
|
|
|
- sudo
|
|
|
|
- tree
|
|
|
|
- vim
|
|
|
|
- python-simplejson
|
2017-04-25 14:47:04 +02:00
|
|
|
|
|
|
|
- name: sshd_config
|
|
|
|
file:
|
|
|
|
src: files/sshd_config
|
|
|
|
dest: /etc/ssh/sshd_config
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
2018-05-04 15:40:38 +02:00
|
|
|
- name: disable apparmor
|
|
|
|
apt: pkg=apparmor state=absent
|
|
|
|
|
2017-07-10 09:52:12 +02:00
|
|
|
- include: docker.yml
|