Code Review
/
ansible
/
roles
/
haveged-install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
141c765
)
Migrate lf-ansible haveged-install role
74/8974/1
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Wed, 21 Feb 2018 21:39:02 +0000
(16:39 -0500)
committer
Thanh Ha
<thanh.ha@linuxfoundation.org>
Wed, 21 Feb 2018 21:39:02 +0000
(16:39 -0500)
Change-Id: I757e6b40103afe346517ab05023b1aa689175631
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
tasks/main.yml
patch
|
blob
|
history
diff --git
a/tasks/main.yml
b/tasks/main.yml
index
05dfe20
..
3cde6d9
100644
(file)
--- a/
tasks/main.yml
+++ b/
tasks/main.yml
@@
-1,2
+1,8
@@
---
-# tasks file for haveged-install
+- name: Install haveged package
+ package: name=haveged state=present
+ become: true
+
+- name: Enable haveged service
+ service: name=haveged enabled=yes
+ become: true