summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/repos.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks/repos.yml')
-rw-r--r--roles/common/tasks/repos.yml16
1 files changed, 16 insertions, 0 deletions
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"