summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/logo.yml
blob: 2802bc4fcc938071481724287fa830af63b0bb7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- 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

- name: Installation linux_logo Fedora
  dnf: name=https://fantom.fedorapeople.org/linux_logo-5.11-6.fc{{ logo_release }}.x86_64.rpm state=present
  when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 22

- name: Ajout linux_logo en Exclude (yum)
  ini_file: dest=/etc/yum.conf
            section=main
            option=exclude
            value=linux_logo
  when: ansible_pkg_mgr == "yum"

- name: Ajout linux_logo en Exclude (dnf)
  ini_file: dest=/etc/dnf/dnf.conf
            section=main
            option=exclude
            value=linux_logo
  when: ansible_pkg_mgr == "dnf"