diff --git a/templates/ansible_callback.template.j2 b/templates/ansible_callback.template.j2
index 0992797ec75b046d6def75d0516d05c5cf6c735c..dd1029e41a70a66692b39ef66059d52bca9fd3ae 100644
--- a/templates/ansible_callback.template.j2
+++ b/templates/ansible_callback.template.j2
@@ -2,6 +2,7 @@
 
 MAC_ADDR=`ip a |grep -B1 $(hostname -I)|grep ether |awk '{ print $2 }'`
 
+rm -fr /etc/yum.repos.d/CentOS-*.repo
 yum makecache
 yum install -y python3