diff --git a/roles/2-common/tasks/centos.yml b/roles/2-common/tasks/centos.yml index 6a000ba63..70b653742 100644 --- a/roles/2-common/tasks/centos.yml +++ b/roles/2-common/tasks/centos.yml @@ -19,11 +19,11 @@ - iiab-centos.repo - li.nux.ro.repo -- name: Disable updating ansible on CentOS - shell: sed -i -e '/^enabled=/a exclude=ansible' {{ item }} - with_items: - - /etc/yum.repos.d/CentOS-Base.repo - - /etc/yum.repos.d/CentOS-CR.repo - - /etc/yum.repos.d/CentOS-fasttrack.repo - - /etc/yum.repos.d/CentOS-Vault.repo - when: ansible_distribution == "CentOS" +#- name: Disable updating ansible on CentOS +# shell: sed -i -e '/^enabled=/a exclude=ansible' {{ item }} +# with_items: +# - /etc/yum.repos.d/CentOS-Base.repo +# - /etc/yum.repos.d/CentOS-CR.repo +# - /etc/yum.repos.d/CentOS-fasttrack.repo +# - /etc/yum.repos.d/CentOS-Vault.repo +# when: ansible_distribution == "CentOS" diff --git a/roles/2-common/tasks/fedora.yml b/roles/2-common/tasks/fedora.yml index abb864a78..2060c19ff 100644 --- a/roles/2-common/tasks/fedora.yml +++ b/roles/2-common/tasks/fedora.yml @@ -14,10 +14,10 @@ shell: yum --enablerepo=rpmfusion-free-updates install exfat-utils fuse-exfat when: exFAT_enabled == "True" -- name: Disable updating ansible on Fedora - shell: sed -i -e '/^enabled=/a exclude=ansible' {{ item }} - with_items: - - /etc/yum.repos.d/fedora.repo - - /etc/yum.repos.d/fedora-updates.repo - - /etc/yum.repos.d/fedora-updates-testing.repo - when: ansible_distribution == "Fedora" +#- name: Disable updating ansible on Fedora +# shell: sed -i -e '/^enabled=/a exclude=ansible' {{ item }} +# with_items: +# - /etc/yum.repos.d/fedora.repo +# - /etc/yum.repos.d/fedora-updates.repo +# - /etc/yum.repos.d/fedora-updates-testing.repo +# when: ansible_distribution == "Fedora"