From 7cb5e5a579b3f4ef477f1a1df7787a5bc09d5931 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 15 Apr 2017 03:13:08 +0200 Subject: [PATCH] Remove redundant kernel and grub config from ansible script. --- ansible/config.yml | 18 +++++++++--------- ansible/files/apt-mark/newest_kernel | 2 -- 2 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 ansible/files/apt-mark/newest_kernel diff --git a/ansible/config.yml b/ansible/config.yml index d96d2b6..7cdc351 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -22,15 +22,15 @@ - 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 index f85a87c..0000000 --- a/ansible/files/apt-mark/newest_kernel +++ /dev/null @@ -1,2 +0,0 @@ -linux-image-amd64 -grub2 -- 2.30.2