docker.portainer/molecule/default/prepare.yml

24 lines
453 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
autoclean: yes
autoremove: yes
update_cache: yes
become: true
# Install docker (and update repos)
#
- name: "Set up docker on the machine"
include_role:
name: "linux.install_docker"