summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2017-08-10 11:21:49 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2017-08-10 11:21:49 +0200
commit8160a609bdbcd55e30e4ad93cac3eb8944d53d95 (patch)
tree959334e921837b9c8e604577d82e3be66ed2635a
parent82692f7cb594e6868dd0f1ee2e54633dff5e2b0b (diff)
downloadplaybooks-ansible-8160a609bdbcd55e30e4ad93cac3eb8944d53d95.tar.gz
playbooks-ansible-8160a609bdbcd55e30e4ad93cac3eb8944d53d95.tar.xz
playbooks-ansible-8160a609bdbcd55e30e4ad93cac3eb8944d53d95.zip
fix dnf issue for the next task
-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