home · contact · privacy
Remove redundant kernel and grub config from ansible script.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 15 Apr 2017 01:13:08 +0000 (03:13 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 15 Apr 2017 01:13:08 +0000 (03:13 +0200)
ansible/config.yml
ansible/files/apt-mark/newest_kernel [deleted file]

index d96d2b64d558d452ac6242ed33767d58b28e6a72..7cdc351fd881fd45a7969552c4eaf8c736929354 100644 (file)
   - name: APT - dist-upgrade
     apt: upgrade=dist
 
-  # Upgrade kernel.
-  - name: ensure newest kernel and grub are installed
-    apt: name={{item}} state=present
-    with_lines: cat ~/config/ansible/files/apt-mark/newest_kernel | sed -e 's/ *#.*$//'
-    #with_items:
-    #- linux-image-amd64
-    #- grub2
-  - name: update grub
-    shell: update-grub
+  ## Upgrade kernel.
+  #- name: ensure newest kernel and grub are installed
+  #  apt: name={{item}} state=present
+  #  with_lines: cat ~/config/ansible/files/apt-mark/newest_kernel | sed -e 's/ *#.*$//'
+  #  #with_items:
+  #  #- linux-image-amd64
+  #  #- grub2
+  #- name: update grub
+  #  shell: update-grub
 
   # Ensure power management.
   - name: ensure power management tools are installed
diff --git a/ansible/files/apt-mark/newest_kernel b/ansible/files/apt-mark/newest_kernel
deleted file mode 100644 (file)
index f85a87c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-linux-image-amd64
-grub2