diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-08-10 11:21:49 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-08-10 11:21:49 +0200 |
commit | 8160a609bdbcd55e30e4ad93cac3eb8944d53d95 (patch) | |
tree | 959334e921837b9c8e604577d82e3be66ed2635a | |
parent | 82692f7cb594e6868dd0f1ee2e54633dff5e2b0b (diff) | |
download | playbooks-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.yml | 12 |
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 |