From b1cc4887616f0ef20295be4aed9a11d58ac59701 Mon Sep 17 00:00:00 2001 From: Ferenc Fabian Date: Mon, 7 Mar 2016 15:42:42 +0000 Subject: [PATCH] Pull request for fix https://github.com/jdauphant/ansible-role-nginx/issues/93 bug --- tasks/installation.packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/installation.packages.yml b/tasks/installation.packages.yml index 9bb51b0..90d6c1a 100644 --- a/tasks/installation.packages.yml +++ b/tasks/installation.packages.yml @@ -10,7 +10,7 @@ tags: [packages,nginx] - name: Install the nginx packages - yum: name={{ item }} state=present disablerepo='*' enablerepo={{ "nginx," if nginx_official_repo else "" }}{{ yum_epel_repo }},{{ yum_base_repo }} + yum: name={{ item }} state=present enablerepo={{ "nginx," if nginx_official_repo else "" }} with_items: "{{ nginx_redhat_pkg }}" when: nginx_is_el|bool tags: [packages,nginx]