From aae47d8deac02bdddd64f57778b08f695db1ffa0 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 6 Dec 2018 15:48:33 -0500 Subject: Some cleanup, and fix of the previous commit --- roles/base/tasks/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'roles/base/tasks') diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 14a777f..bd5c5b6 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -1,6 +1,8 @@ --- - name: install base rpms - yum: pkg={{ item }} state=installed + yum: + pkg: "{{ item }}" + state: installed with_items: - screen - htop @@ -12,7 +14,10 @@ - chrony - yum-cron -- service: name={{ item }} state=present enabled=yes +- service: + name: "{{ item }}" + state: started + enabled: yes with_items: - yum-cron - chronyd -- cgit