From 25ba91ef0bf424087dc30a417a6b3758f876fffa Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 6 Dec 2018 15:33:00 -0500 Subject: Use new syntax --- roles/base/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/base') diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index b7ed97c..14a777f 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -12,7 +12,7 @@ - chrony - yum-cron -- service: name={{ item }} state=running enabled=yes +- service: name={{ item }} state=present enabled=yes with_items: - yum-cron - chronyd -- cgit