summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/yum.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks/yum.yml')
-rw-r--r--roles/common/tasks/yum.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/common/tasks/yum.yml b/roles/common/tasks/yum.yml
index 7949002..ad5b200 100644
--- a/roles/common/tasks/yum.yml
+++ b/roles/common/tasks/yum.yml
@@ -1,6 +1,7 @@
- name: Affichage historique
ini_file:
path: /etc/yum.conf
+ mode: 0644
section: main
option: history_list_view
value: cmds
@@ -9,6 +10,7 @@
- name: Clean requirements on remove
ini_file:
path: /etc/yum.conf
+ mode: 0644
section: main
option: clean_requirements_on_remove
value: "1"
@@ -17,6 +19,7 @@
- name: Désactivation delta rpm
ini_file:
path: /etc/yum.conf
+ mode: 0644
section: main
option: deltarpm
value: "0"
@@ -25,6 +28,7 @@
- name: Nombre mini de noyaux installés
ini_file:
path: /etc/yum.conf
+ mode: 0644
section: main
option: installonly_limit
value: "{{ minkernel }}"
@@ -34,9 +38,9 @@
- name: Nombre maxi de noyaux installés
ini_file:
path: /etc/yum.conf
+ mode: 0644
section: main
option: installonly_limit
value: "{{ maxkernel }}"
- mode: 0644
when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host"
and ansible_pkg_mgr == "yum"