2019-07-02 14:10:46 +03:00
|
|
|
---
|
|
|
|
- name: prepare
|
|
|
|
hosts: all
|
|
|
|
tasks:
|
|
|
|
- name: install apt packages
|
|
|
|
apt:
|
|
|
|
name: "{{ packages }}"
|
|
|
|
vars:
|
|
|
|
packages:
|
2019-07-11 11:17:02 +03:00
|
|
|
- apt-transport-https
|
|
|
|
- rsyslog
|
2019-07-02 14:10:46 +03:00
|
|
|
- shell: service rsyslog start
|
|
|
|
- shell: groupadd docker && chgrp docker /var/run/docker.sock
|