fix remove docker-ce.repo failed (#8856)

This commit is contained in:
Thearas 2022-05-24 20:44:06 +08:00 committed by GitHub
parent 4c97ce747c
commit 82590eb087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@
when: ansible_distribution == "Fedora" and not is_ostree
- name: Docker | Remove docker repository on RedHat/CentOS/Oracle/AlmaLinux Linux
template:
file:
name: "{{ yum_repo_dir }}/docker-ce.repo"
state: absent
when: