docker.portainer/molecule/default/prepare.yml
2021-09-17 00:04:39 +02:00

21 lines
384 B
YAML

---
- name: Prepare
hosts: all
become: True
gather_facts: False
tasks:
# Make sure we have Ansible installed
#
- name: "Install ansible"
apt:
name: ansible
state: present
become: true
# Install docker (and update repos)
#
- name: "Set up docker on the machine"
include_role:
name: "linux.install_docker"