From af49d819d3d5694623aff21492cbe03bc91c8d60 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 17 Jul 2021 18:03:08 +0100 Subject: [PATCH] Update packages on Ubuntu --- roles/ubuntu/tasks/packages-cli.yml | 19 +++++++++++++++---- roles/ubuntu/tasks/packages-gui.yml | 6 ++++-- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/roles/ubuntu/tasks/packages-cli.yml b/roles/ubuntu/tasks/packages-cli.yml index 28334fd..a8da18a 100644 --- a/roles/ubuntu/tasks/packages-cli.yml +++ b/roles/ubuntu/tasks/packages-cli.yml @@ -35,18 +35,29 @@ - mc - nmap - openssh-server - - packagekit - - python3 - - python3-psutil - ruby-asciidoctor-pdf + - sipcalc - sqlite3 - sudo - tmux - vim - - wordgrinder-ncurses - zsh + - zstd - name: Load /etc/profile in zsh become: true ansible.builtin.lineinfile: path: /etc/zsh/zprofile line: emulate sh -c 'source /etc/profile' +- name: Enable automatic update check + become: true + ansible.builtin.lineinfile: + path: /etc/apt/apt.conf.d/10periodic + regex: "APT::Periodic::Update-Package-Lists " + line: "APT::Periodic::Update-Package-Lists \"1\";" + create: yes +- name: Enable automatic install of updates + become: true + ansible.builtin.lineinfile: + path: /etc/apt/apt.conf.d/10periodic + regex: "APT::Periodic::Unattended-Upgrade " + line: "APT::Periodic::Unattended-Upgrade \"1\";" diff --git a/roles/ubuntu/tasks/packages-gui.yml b/roles/ubuntu/tasks/packages-gui.yml index af6bc19..24a2440 100644 --- a/roles/ubuntu/tasks/packages-gui.yml +++ b/roles/ubuntu/tasks/packages-gui.yml @@ -21,8 +21,10 @@ force_apt_get: yes vars: packages: - - emacs + - dconf-cli - galculator - git-gui + - libcanberra-gtk-module - remmina - - vim-gtk3 + - thunderbird + - vim-gtk