blob: c6de332a6392d711fab5bce8e7b0f73478561da3 (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
- name: Retrait linux_logo en Exclude (yum)
ini_file:
path: /etc/yum.conf
section: main
option: exclude
state: absent
when: ansible_pkg_mgr == "yum"
- name: Retrait linux_logo en Exclude (dnf)
ini_file:
path: /etc/dnf/dnf.conf
section: main
option: exclude
state: absent
when: ansible_pkg_mgr == "dnf"
- name: Installation linux_logo Fedora x86_64
package:
name: https://fantom.fedorapeople.org/linux_logo-5.11-22.fc{{ logo_release }}.x86_64.rpm
state: present
when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= logo_release|int
and ansible_architecture == "x86_64"
- name: Installation linux_logo Fedora armv7hl
package:
name: https://fantom.fedorapeople.org/linux_logo-5.11-22.fc{{ logo_release }}.armv7hl.rpm
state: present
when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= logo_release|int
and ansible_architecture == "armv7l"
- name: Ajout linux_logo en Exclude (yum)
ini_file:
path: /etc/yum.conf
section: main
option: exclude
value: linux_logo
when: ansible_pkg_mgr == "yum"
- name: Ajout linux_logo en Exclude (dnf)
ini_file:
path: /etc/dnf/dnf.conf
section: main
option: exclude
value: linux_logo
when: ansible_pkg_mgr == "dnf"
|