From 37a91abe7e867c91a7c4365c418ecf3d9faf04dc Mon Sep 17 00:00:00 2001 From: Matthieu Saulnier Date: Fri, 15 Aug 2014 23:58:35 +0200 Subject: Add var condition in case of the use of Fedora Rawhide Fix condition for stable release 20 or later Rename update.yml as repos.yml in common role Remove update system during common role --- roles/common/tasks/yum.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/common/tasks/yum.yml') diff --git a/roles/common/tasks/yum.yml b/roles/common/tasks/yum.yml index bfa2939..0aeff59 100644 --- a/roles/common/tasks/yum.yml +++ b/roles/common/tasks/yum.yml @@ -15,7 +15,8 @@ section=main option=deltarpm value=0 - when: ansible_distribution_version|int == 20 and ansible_architecture == "x86_64" + when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64" + and ansible_distribution_release != "Rawhide" - name: Nombre mini de noyaux installés ini_file: dest=/etc/yum.conf -- cgit