blob: 0bd979b20861feb1f263a72c3d0a66937596e8aa (
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
|
- name: Affichage historique
ini_file:
path: /etc/dnf/dnf.conf
section: main
option: history_list_view
value: cmds
when: ansible_pkg_mgr == "dnf"
- name: Clean requirements on remove
ini_file:
path: /etc/dnf/dnf.conf
section: main
option: clean_requirements_on_remove
value: "true"
when: ansible_pkg_mgr == "dnf"
- name: Désactivation delta rpm
ini_file:
path: /etc/dnf/dnf.conf
section: main
option: deltarpm
value: "false"
when: ansible_pkg_mgr == "dnf"
- name: Nombre mini de noyaux installés
ini_file:
path: /etc/dnf/dnf.conf
section: main
option: installonly_limit
value: "{{ minkernel }}"
when: ansible_virtualization_role is defined and ansible_virtualization_role == "guest"
and ansible_pkg_mgr == "dnf"
- name: Nombre maxi de noyaux installés
ini_file:
path: /etc/dnf/dnf.conf
section: main
option: installonly_limit
value: "{{ maxkernel }}"
when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host"
and ansible_pkg_mgr == "dnf"
|