X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Finit-system%2Ftasks%2Fapt.yml;h=65f61d65a9e02723348a6c481f643ba18c06c121;hb=b1964888264b779853ae6a148a08dc4256ea8c2d;hp=4e25984bc4d71e66e17d0d19f8ece4d3fb76e492;hpb=5066f85b3351fd1cb53e5fe9d484644387fc1ddc;p=ansible.git diff --git a/playbooks/roles/init-system/tasks/apt.yml b/playbooks/roles/init-system/tasks/apt.yml index 4e25984..65f61d6 100644 --- a/playbooks/roles/init-system/tasks/apt.yml +++ b/playbooks/roles/init-system/tasks/apt.yml @@ -1,12 +1,3 @@ -- name: Check backports - shell: "grep -Fc backports /etc/apt/sources.list || :" - register: apt_configured - changed_when: apt_configured.stdout == "0" - -- debug: - msg: "apt has already been configured" - when: apt_configured.stdout != "0" - - name: Configure apt become: true template: @@ -15,7 +6,6 @@ owner: root group: root mode: '0640' - when: apt_configured.stdout == "0" - name: Install minimal software packages become: true @@ -27,7 +17,7 @@ 'bash', 'bash-completion', 'bzip2', 'curl', 'deborphan', 'dnsutils', 'dselect', 'ifupdown-extra', 'gnupg', 'gnupg2', 'logcheck', 'mc', 'mutt', - 'procmail', 'rsync', 'unzip', 'vim', 'wget', 'zip', + 'procmail', 'rsync', 'unzip', 'vim', 'wget', 'whois', 'zip', ] state: latest update_cache: yes @@ -40,8 +30,8 @@ cache_valid_time: 3600 install_recommends: no name: ['avahi-autoip', 'bluetooth', 'bluez', - 'debian-faq', 'doc-debian', - 'emacsen-comm', 'vim-tiny', + 'debian-faq', 'doc-debian', 'emacsen-comm', + 'ntp', 'vim-tiny', ] purge: yes state: absent