File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 4646 new-lines:
4747 type: unix
4848 trailing-spaces: enable
49- truthy: disable
Original file line number Diff line number Diff line change 99platforms :
1010 - name : base-git-centos6
1111 image : centos:6
12- privileged : True
12+ privileged : true
1313 - name : base-git-centos7
1414 image : milcom/centos7-systemd
15- privileged : True
15+ privileged : true
1616 - name : base-git-ubuntu
1717 image : ubuntu
18- privileged : True
18+ privileged : true
1919provisioner :
2020 name : ansible
2121 config_options :
Original file line number Diff line number Diff line change 5454 - base_git
5555
5656- name : Install Git software collection
57- become : yes
57+ become : true
5858 when : collections_enabled|bool and ansible_os_family == 'RedHat'
5959 yum :
6060 name : " {{ base_git_rpms }}"
6161 state : present
62- update_cache : yes
62+ update_cache : true
6363 register : rhgit_install
6464 until : rhgit_install is success
6565 retries : 3
9696 - git
9797
9898- name : Install Git from yum repo
99- become : ye
99+ become : true
100100 when : not collections_enabled|bool or rhgit_install is failed
101101 yum :
102102 name : git
103103 state : present
104- update_cache : yes
104+ update_cache : true
105105 register : network_access
106106 until : network_access is success
107107 retries : 10
111111 - base_git
112112
113113- name : Install Git from apt repo
114- become : yes
114+ become : true
115115 when : ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
116116 apt :
117117 name : git
You can’t perform that action at this time.
0 commit comments