summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/logo.yml
blob: 98c6a98c4c2a4f93fa098d402958bff575256c82 (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
- 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 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: 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"