hpc-cloud/roles/common/tasks/main.yml
Egon Rijpkema 86cd68e465 Removed inclusion of docker everywhere
It is now included in the common role itself, which is applied to all.
2017-07-10 09:52:12 +02:00

30 lines
539 B
YAML

- 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:
- curl
- htop
- molly-guard
- sudo
- tree
- vim
- python-simplejson
- name: sshd_config
file:
src: files/sshd_config
dest: /etc/ssh/sshd_config
mode: 0644
owner: root
group: root
- include: docker.yml