Add docker installation role

This commit is contained in:
Marty Oehme 2021-07-24 16:01:56 +02:00
parent 1fe4c617db
commit 89453cd53b
Signed by: Marty
GPG key ID: B7538B8F50A1C800
3 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,11 @@
---
# Bring docker on the system and up to date
- name: "Select tasks for {{ ansible_distribution }} {{ ansible_distribution_major_version }}"
include_tasks: "{{ distribution }}"
with_first_found:
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
loop_control:
loop_var: distribution