summaryrefslogtreecommitdiffstats
path: root/roles/kernel
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-07-05 16:22:30 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-07-05 16:22:30 +0200
commit5416f8599ffa92b69bb87434dc1175d760760bbe (patch)
tree307218127ade7099282ac3bef123a2e9590e8f13 /roles/kernel
downloaditm-5416f8599ffa92b69bb87434dc1175d760760bbe.tar.gz
itm-5416f8599ffa92b69bb87434dc1175d760760bbe.tar.bz2
itm-5416f8599ffa92b69bb87434dc1175d760760bbe.tar.xz
itm-5416f8599ffa92b69bb87434dc1175d760760bbe.zip
Initial import
Diffstat (limited to 'roles/kernel')
-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)
+