diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-02-27 23:31:52 +0100 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-02-27 23:31:52 +0100 |
commit | 68ad649a208c6f8536bfede2ce0ae647d4e3d2b4 (patch) | |
tree | 163fde64aa1c9716a39074c35ceeaf32b3f8fa17 /roles/common/tasks/repos.yml | |
parent | 66293e20bd06723887b3217a91324e154f2792f9 (diff) | |
download | playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.tar.gz playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.tar.xz playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.zip |
remove obsolete stuff, fix roles errors and update dns role
Diffstat (limited to 'roles/common/tasks/repos.yml')
-rw-r--r-- | roles/common/tasks/repos.yml | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/roles/common/tasks/repos.yml b/roles/common/tasks/repos.yml index 51e2777..f4723ea 100644 --- a/roles/common/tasks/repos.yml +++ b/roles/common/tasks/repos.yml @@ -11,23 +11,24 @@ 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 +- name: Installation du miroir hidden updates + copy: src=updates-fantom-hidden.repo dest=/etc/yum.repos.d/updates-fantom-hidden.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 +- name: Désactivation du dépôt Fantom + ini_file: dest=/etc/yum.repos.d/updates-fantom.repo + section=updates option=enabled value=0 - when: ansible_distribution_version|int >= 22 and ansible_architecture == "x86_64" - and ansible_distribution_release != "Rawhide" + when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64" + and ansible_distribution_release != "Rawhide" and outdoor is defined -- name: Désactivation du miroir updates-testing - ini_file: dest=/etc/yum.repos.d/updates-testing-fantom.repo - section=updates-testing-fantom +- name: Activation 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 >= 22 and ansible_architecture == "x86_64" - and ansible_distribution_release != "Rawhide" + value=1 + when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64" + and ansible_distribution_release != "Rawhide" and outdoor is defined + |