diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/clients/handlers/main.yml | 1 | ||||
-rw-r--r-- | roles/clients/handlers/prelink.yml | 2 | ||||
-rw-r--r-- | roles/clients/tasks/main.yml | 3 | ||||
-rw-r--r-- | roles/clients/tasks/pkgs.yml | 1 | ||||
-rw-r--r-- | roles/clients/tasks/prelink.yml | 4 | ||||
-rw-r--r-- | roles/common/tasks/pkgs.yml | 4 | ||||
-rw-r--r-- | roles/common/tasks/repos.yml | 16 |
7 files changed, 20 insertions, 11 deletions
diff --git a/roles/clients/handlers/main.yml b/roles/clients/handlers/main.yml index 1f3ca7f..c2a64ec 100644 --- a/roles/clients/handlers/main.yml +++ b/roles/clients/handlers/main.yml @@ -1,2 +1 @@ -- include: prelink.yml - include: systemd.yml diff --git a/roles/clients/handlers/prelink.yml b/roles/clients/handlers/prelink.yml deleted file mode 100644 index 7221b2f..0000000 --- a/roles/clients/handlers/prelink.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: prelink undo - command: /usr/sbin/prelink -ua diff --git a/roles/clients/tasks/main.yml b/roles/clients/tasks/main.yml index f6a2555..be8a8fb 100644 --- a/roles/clients/tasks/main.yml +++ b/roles/clients/tasks/main.yml @@ -16,8 +16,5 @@ - name: Ajout points de montage include: mnt.yml -- name: Désactivation de Prelink - include: prelink.yml - - name: Installations des paquets include: pkgs.yml diff --git a/roles/clients/tasks/pkgs.yml b/roles/clients/tasks/pkgs.yml index d084010..20a950f 100644 --- a/roles/clients/tasks/pkgs.yml +++ b/roles/clients/tasks/pkgs.yml @@ -53,7 +53,6 @@ - youtube-dl - gnome-shell-extension-user-theme - sparse - - conglomerate - rfkill - ksysguardd - kdenlive diff --git a/roles/clients/tasks/prelink.yml b/roles/clients/tasks/prelink.yml deleted file mode 100644 index 327f8ec..0000000 --- a/roles/clients/tasks/prelink.yml +++ /dev/null @@ -1,4 +0,0 @@ -- name: Désactivation de Prelink - lineinfile: dest=/etc/sysconfig/prelink state=present backrefs=yes regexp="^PRELINKING=yes" - line="PRELINKING=no" - notify: prelink undo diff --git a/roles/common/tasks/pkgs.yml b/roles/common/tasks/pkgs.yml index fdf062b..64d5390 100644 --- a/roles/common/tasks/pkgs.yml +++ b/roles/common/tasks/pkgs.yml @@ -53,3 +53,7 @@ - lm_sensors - smartmontools when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host" + +- name: Installation d'un programme de gravure + yum: name=wodim state=present + when: ansible_devices.sr0 is defined diff --git a/roles/common/tasks/repos.yml b/roles/common/tasks/repos.yml index ee56584..e85a0e4 100644 --- a/roles/common/tasks/repos.yml +++ b/roles/common/tasks/repos.yml @@ -15,3 +15,19 @@ copy: src=updates-testing-fantom.repo dest=/etc/yum.repos.d/updates-testing-fantom.repo when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64" and ansible_distribution_release != "Rawhide" + +- name: Désactivation du dépôt updates-testing + ini_file: dest=/etc/yum.repos.d/fedora-updates-testing.repo + section=updates-testing + option=enabled + value=0 + when: ansible_distribution_version|int >= 21 and ansible_architecture == "x86_64" + and ansible_distribution_release != "Rawhide" + +- name: Activation du miroir updates-testing + ini_file: dest=/etc/yum.repos.d/updates-testing-fantom.repo + section=updates-testing-fantom + option=enabled + value=1 + when: ansible_distribution_version|int >= 21 and ansible_architecture == "x86_64" + and ansible_distribution_release != "Rawhide" |