From 4af36fc7cd08c34576ca525bb9fb0331f9c3a2b2 Mon Sep 17 00:00:00 2001 From: Anton Ustyuzhanin Date: Tue, 6 Mar 2018 11:37:11 +0100 Subject: [PATCH] Replace apt module with package --- tasks/packages.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/packages.yml b/tasks/packages.yml index 9b27e3a..b78e602 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -1,6 +1,7 @@ --- - name: packages | Make sure the default packages are installed - apt: + package: name: "{{ yum_default_packages|join(',') }}" - state: present \ No newline at end of file + state: present + when: yum_default_packages