From b9b0b08a6f023c75d9e206d4ef9fe7b3272dfae9 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 5 Dec 2021 22:55:07 +0000 Subject: [PATCH] Fix version detection --- roles/el/tasks/packages-cli.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/el/tasks/packages-cli.yml b/roles/el/tasks/packages-cli.yml index c9fac6c..570db94 100644 --- a/roles/el/tasks/packages-cli.yml +++ b/roles/el/tasks/packages-cli.yml @@ -60,7 +60,7 @@ - python38 - python38-psutil - toolbox - when: ansible_distribution_major_version == 8 + when: ansible_distribution_major_version == '8' - name: Install CLI packages (EL 9) become: true ansible.builtin.dnf: @@ -68,7 +68,6 @@ state: present vars: packages: - - "@container-tools" - podman - toolbox - when: ansible_distribution_major_version == 9 + when: ansible_distribution_major_version == '9'