diff --git a/roles/oem/tasks/main.yml b/roles/oem/tasks/main.yml index 9e628d24..5a9d977b 100644 --- a/roles/oem/tasks/main.yml +++ b/roles/oem/tasks/main.yml @@ -13,7 +13,7 @@ # Force an update of mintupdate, else it only updates itself on first run - name: Update mintupdate package apt: - name: mintupdate + name: "{{ upgrade_pre_mintupdate }}" state: latest - name: Upgrade all installed packages # noqa 301 command: /usr/bin/mintupdate-cli -y upgrade diff --git a/roles/oem/vars/main.yml b/roles/oem/vars/main.yml index 4cce5b04..00814eef 100644 --- a/roles/oem/vars/main.yml +++ b/roles/oem/vars/main.yml @@ -3,6 +3,10 @@ packages_to_install: - zenity +upgrade_pre_mintupdate: + - mintupdate + - mint-upgrade-info + # https://github.com/jmunixusers/cs-vm-build/issues/11#issuecomment-347015788 packages_to_remove: - bluez*