From 047896db9eac9e6a3a0558b582c5e20a75530809 Mon Sep 17 00:00:00 2001 From: Jamie Burchell Date: Mon, 13 May 2019 20:03:36 +0100 Subject: [PATCH] Use package module instead of yum I noticed that your other roles have switched to using the package module instead of yum. --- tasks/setup-RedHat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index 88194c8..074f664 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -9,6 +9,6 @@ when: nginx_yum_repo_enabled - name: Ensure nginx is installed. - yum: + package: name: "{{ nginx_package_name }}" state: present