From 55a25e4cf41eaeabd6270bedb1a52c7b059e6a3d Mon Sep 17 00:00:00 2001 From: Mark Wong Date: Wed, 1 Nov 2023 18:04:16 +0000 Subject: [PATCH] validate_setup_dbt2: update to work for debian --- roles/setup_dbt2/tasks/validate_setup_dbt2.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/setup_dbt2/tasks/validate_setup_dbt2.yml b/roles/setup_dbt2/tasks/validate_setup_dbt2.yml index 11ecac06..37681f76 100644 --- a/roles/setup_dbt2/tasks/validate_setup_dbt2.yml +++ b/roles/setup_dbt2/tasks/validate_setup_dbt2.yml @@ -3,6 +3,13 @@ - name: Set dbt2_db_pkg_list ansible.builtin.set_fact: dbt2_db_pkg_list: ['perf', 'rsync', 'tmux', 'fuse', 'fuse-libs', 'sysstat', 'dejavu-fonts-common', 'fontconfig'] + when: ansible_os_family == 'RedHat' + +# validate dbt2 db packages installation +- name: Set dbt2_db_pkg_list + ansible.builtin.set_fact: + dbt2_db_pkg_list: ['linux-perf', 'rsync', 'tmux', 'fuse', 'libfuse2', 'sysstat', 'fonts-dejavu', 'fontconfig'] + when: ansible_os_family == 'Debian' - name: Gather the package facts ansible.builtin.package_facts: