summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/logo.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks/logo.yml')
-rw-r--r--roles/common/tasks/logo.yml12
1 files changed, 12 insertions, 0 deletions
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