From 8160a609bdbcd55e30e4ad93cac3eb8944d53d95 Mon Sep 17 00:00:00 2001 From: Matthieu Saulnier Date: Thu, 10 Aug 2017 11:21:49 +0200 Subject: fix dnf issue for the next task --- roles/common/tasks/logo.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/common/tasks/logo.yml b/roles/common/tasks/logo.yml index 2802bc4..930985c 100644 --- a/roles/common/tasks/logo.yml +++ b/roles/common/tasks/logo.yml @@ -1,3 +1,15 @@ +- name: Retrait linux_logo en Exclude (yum) + ini_file: dest=/etc/yum.conf + section=main + option=exclude + when: ansible_pkg_mgr == "yum" + +- name: Retrait linux_logo en Exclude (dnf) + ini_file: dest=/etc/dnf/dnf.conf + section=main + option=exclude + when: ansible_pkg_mgr == "dnf" + - name: Installation linux_logo Fedora yum: name=https://fantom.fedorapeople.org/linux_logo-5.11-6.fc{{ ansible_distribution_version }}.x86_64.rpm state=present when: ansible_distribution == "Fedora" and ansible_distribution_version|int <= 21 -- cgit