From 82c9743cfc982e0b565e5b21ecb06c7cde59dbad Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 23 Mar 2015 12:16:51 +0100 Subject: Deploy yum-cron --- roles/base/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'roles/base/tasks') diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 7fb59ac..b7ed97c 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -10,8 +10,12 @@ - vim-enhanced - tcpdump - chrony + - yum-cron -- service: name=chronyd state=running enabled=yes +- service: name={{ item }} state=running enabled=yes + with_items: + - yum-cron + - chronyd - copy: dest=/etc/cloud/cloud.cfg.d/06_preserve_hostname.cfg src=06_preserve_hostname.cfg -- cgit