From: Christian Heller Date: Sat, 15 Apr 2017 01:13:08 +0000 (+0200) Subject: Remove redundant kernel and grub config from ansible script. X-Git-Url: https://plomlompom.com/repos//%22https:/validator.w3.org/check?a=commitdiff_plain;h=7cb5e5a579b3f4ef477f1a1df7787a5bc09d5931;p=config Remove redundant kernel and grub config from ansible script. --- 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