From: Christian Heller Date: Sat, 15 Apr 2017 02:07:03 +0000 (+0200) Subject: Remove outcommented code. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdb.prefix%7D%7D/static/blog?a=commitdiff_plain;h=34d8f7e27c7f15a0d125b3976da157cc8cb4802a;p=config Remove outcommented code. --- diff --git a/ansible/config.yml b/ansible/config.yml index b92f89b..c49e7c9 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -16,15 +16,6 @@ - name: APT - dist-upgrade apt: upgrade=dist - ## Upgrade kernel. - #- name: ensure newest kernel and grub are installed - # apt: name={{item}} state=present - # with_items: - # - linux-image-amd64 - # - grub2 - #- name: update grub - # shell: update-grub - # Ensure power management. - name: ensure power management tools are installed apt: name={{item}} state=present @@ -94,11 +85,6 @@ with_lines: cat ~/config/ansible/files/apt-mark/browser_environment | sed -e 's/ *#.*$//' # Remove undesired packages -# - name: register number of installed packages -# shell: dpkg-query -Wf 'x' | wc -c -# register: package_count -# -# - name: collect desired packages shell: cat files/apt-mark/* | sed -e 's/ *#.*$//' > /tmp/white_list_unsorted && sort /tmp/white_list_unsorted > /tmp/white_list_sorted - name: collect currently installed packages