From 991fbcb81540b600c6acd9c90a7d975ade84fd9d Mon Sep 17 00:00:00 2001 From: Bas Meijer Date: Fri, 18 Sep 2020 17:51:06 +0200 Subject: [PATCH] ubuntu-test --- tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 52c39bf..60ebd24 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -107,7 +107,8 @@ - name: Install Git from yum repo become: true - when: not collections_enabled|bool or rhgit_install is failed + # yamllint disable-line rule:line-length + when: (ansible_os_family == 'RedHat') and (not collections_enabled|bool or rhgit_install is failed) yum: name: git state: present