ansible-role-rocketchat/tasks/docker.yml

27 lines
577 B
YAML
Raw Normal View History

2022-05-27 23:27:40 +00:00
---
# install docker using geerlingguy docker role
- name: 'Use geerlingguy.docker role'
include_role:
name: ansible-role-docker
tags: docker
- name: 'Use geerlingguy.pip role to install docker via pip'
vars:
pip_install_packages:
- name: docker
- name: docker-compose
include_role:
name: ansible-role-pip
tags: docker
- name: Add adminstrator to docker group
user:
name: "{{ main_user }}"
groups: docker
append: yes
- name: reset ssh connection to allow user changes to affect 'current login user'
meta: reset_connection