summaryrefslogtreecommitdiffstats
path: root/roles/kernel/tasks/software.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/kernel/tasks/software.yml')
-rw-r--r--roles/kernel/tasks/software.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/kernel/tasks/software.yml b/roles/kernel/tasks/software.yml
new file mode 100644
index 0000000..92733aa
--- /dev/null
+++ b/roles/kernel/tasks/software.yml
@@ -0,0 +1,11 @@
+- name: Install various administrative tools
+ package: name={{item}} state=present
+ register: result
+ with_items:
+ - kernel-devel
+
+# We always update on first install and if requested
+- name: Update kernel
+ package: name=kernel state=latest
+ when: (result | changed)
+