summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/base/tasks/main.yml9
1 files changed, 7 insertions, 2 deletions
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