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