File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 146146 warn : no
147147 when : repofile5.changed or repofile6.changed or repofile7.changed or repofilecustom.changed
148148
149+ # On certain version of dnf, gpg keys aren't imported into the local db with the package install task.
150+ # This rule assures that they are correctly imported into the local db and users won't have to manually accept
151+ # them if running dnf commands on the hosts.
152+ - name : Refresh Datadog repository cache # noqa 503
153+ command : yum -y makecache --disablerepo="*" --enablerepo=datadog
154+ failed_when : false
155+ args :
156+ warn : no
157+ when : repofile5.changed or repofile6.changed or repofile7.changed or repofilecustom.changed
158+
149159- name : Remove old yum repo files
150160 yum_repository :
151161 name : " ansible_datadog_{{ item }}"
You can’t perform that action at this time.
0 commit comments