From cc9c376d0fec60a781b13c095cd969a885d46b5b Mon Sep 17 00:00:00 2001 From: Cristian Calin <6627509+cristicalin@users.noreply.github.com> Date: Mon, 4 Apr 2022 10:32:11 +0300 Subject: [PATCH] [validate-container-engine] add facts tag to tasks needed for vagrant jobs (#8678) --- .../validate-container-engine/tasks/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/roles/container-engine/validate-container-engine/tasks/main.yml b/roles/container-engine/validate-container-engine/tasks/main.yml index 175aa016e..e6e2ac202 100644 --- a/roles/container-engine/validate-container-engine/tasks/main.yml +++ b/roles/container-engine/validate-container-engine/tasks/main.yml @@ -6,18 +6,26 @@ get_checksum: no get_mime: no register: ostree + tags: + - facts - name: validate-container-engine | set is_ostree set_fact: is_ostree: "{{ ostree.stat.exists }}" + tags: + - facts - name: Ensure kubelet systemd unit exists stat: path: "/etc/systemd/system/kubelet.service" register: kubelet_systemd_unit_exists + tags: + - facts - name: Populate service facts service_facts: + tags: + - facts - name: Check if containerd is installed find: @@ -31,6 +39,8 @@ - /etc/systemd - /run/systemd register: containerd_installed + tags: + - facts - name: Check if docker is installed find: @@ -44,6 +54,8 @@ - /etc/systemd - /run/systemd register: docker_installed + tags: + - facts - name: Check if crio is installed find: @@ -57,6 +69,8 @@ - /etc/systemd - /run/systemd register: crio_installed + tags: + - facts - name: Uninstall containerd block: