Skip to content

Commit 9ef88a9

Browse files
committed
update cache
1 parent 7f20bcf commit 9ef88a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- base_git
1515

1616
- name: enable rhel software collections
17+
# yamllint disable-line rule:line-length
1718
command: "yum-config-manager --enable rhel-server-rhscl-{{ ansible_distribution_major_version }}-rpms"
1819
when: collections_enabled|bool and ansible_distribution == 'RedHat'
1920
tags:
@@ -128,6 +129,7 @@
128129
apt:
129130
name: git
130131
state: present
132+
update_cache: true
131133
register: network_access
132134
until: network_access is success
133135
retries: 10

0 commit comments

Comments
 (0)