diff options
author | Michael Scherer <misc@redhat.com> | 2018-12-06 15:48:33 -0500 |
---|---|---|
committer | Michael Scherer <misc@redhat.com> | 2018-12-06 15:48:33 -0500 |
commit | aae47d8deac02bdddd64f57778b08f695db1ffa0 (patch) | |
tree | 164fad6082a950f4df0b900efdcce6316d76c68d /roles | |
parent | bd7901775511af9a3296519d030227bc82ee3581 (diff) |
Some cleanup, and fix of the previous commit
Diffstat (limited to 'roles')
-rw-r--r-- | roles/base/tasks/main.yml | 9 |
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 |