Skip to content

Commit 991fbcb

Browse files
committed
ubuntu-test
1 parent 986609d commit 991fbcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@
107107

108108
- name: Install Git from yum repo
109109
become: true
110-
when: not collections_enabled|bool or rhgit_install is failed
110+
# yamllint disable-line rule:line-length
111+
when: (ansible_os_family == 'RedHat') and (not collections_enabled|bool or rhgit_install is failed)
111112
yum:
112113
name: git
113114
state: present

0 commit comments

Comments
 (0)