File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 33 ansible.builtin.set_fact :
44 old_ansible_python_interpreter : " {{ ansible_python_interpreter | default('/usr/bin/python3') }}"
55
6+ - name : Run prechecks
7+ ansible.builtin.import_tasks : prechecks.yml
8+
69- name : Prerequisite tasks
710 ansible.builtin.import_tasks : prereqs.yml
811
Original file line number Diff line number Diff line change 1+ ---
2+ # Here a quick check for the presence of Docker (or an alias for Podman)
3+ # Display a warning if not found
4+ - name : Check if container engine is installed
5+ ansible.builtin.command : which docker
6+ changed_when : false
7+ ignore_errors : true
8+ register : result
9+
10+ - name : Display warning message about the container engine
11+ ansible.builtin.debug :
12+ msg : " Container runtime engine is not installed. Elements that require it will fail when building."
13+ when : result.rc != 0
You can’t perform that action at this time.
0 commit comments