File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,3 @@ collections_enabled: false
33
44# When collections is enabled this is set for the major versions in tasks/main.yml
55# base_git: rh-git218
6-
7- base_git_rpms :
8- - " {{ base_git }}"
9- - " {{ base_git }}-git-svn"
10- - " {{ base_git }}-perl-Git-SVN"
11- - " {{ base_git }}-git-cvs"
12- - " {{ base_git }}-git-p4"
Original file line number Diff line number Diff line change 3434 - ansible_os_family == 'RedHat'
3535 - ansible_distribution_major_version|int == 7
3636
37+ - name : Set git packages
38+ when : collections_enabled|bool and ansible_os_family == 'RedHat'
39+ set_fact :
40+ base_git_rpms :
41+ - " {{ base_git }}"
42+ - " {{ base_git }}-git-svn"
43+ - " {{ base_git }}-perl-Git-SVN"
44+ - " {{ base_git }}-git-cvs"
45+ - " {{ base_git }}-git-p4"
46+
3747- name : Install Git software collection
3848 become : yes
3949 when : collections_enabled|bool and ansible_os_family == 'RedHat'
You can’t perform that action at this time.
0 commit comments