From 67c0140d73c17ad3a9b5f99b3d1b39a105475802 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Fri, 27 Mar 2020 23:33:45 -0500 Subject: [PATCH] Package install really needs to be done with package module --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 886ded5..8b8036f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -30,7 +30,7 @@ - ensure_log_rotation is defined - ensure_log_rotation.package_list is defined - ensure_log_rotation.package_list is iterable - service: + package: name: '{{ item.name }}' state: '{{ item.state }}' loop: '{{ ensure_log_rotation.package_list }}'