diff options
Diffstat (limited to 'roles/common/tasks/repos.yml')
-rw-r--r-- | roles/common/tasks/repos.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/common/tasks/repos.yml b/roles/common/tasks/repos.yml new file mode 100644 index 0000000..ee56584 --- /dev/null +++ b/roles/common/tasks/repos.yml @@ -0,0 +1,17 @@ +- name: Installation du miroir local updates + copy: src=updates-fantom.repo dest=/etc/yum.repos.d/updates-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 + ini_file: dest=/etc/yum.repos.d/fedora-updates.repo + section=updates + option=enabled + value=0 + when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64" + and ansible_distribution_release != "Rawhide" + +- name: Installation du miroir updates-testing + 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" |