blob: 930985c33a8b9143030e5080aac967d24d4d8f3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
- 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
- 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"
|