remove update tasks, since we use updated images

Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
This commit is contained in:
Martin Schurz 2024-02-05 01:19:34 +01:00
parent e54c541d3b
commit 3ba52e59e2

View file

@ -22,23 +22,6 @@
ansible_python_interpreter: /usr/bin/python3
when: ansible_facts.distribution == 'Fedora'
- name: Block update of Grub and kernel, because of error # noqa ignore-errors
ansible.builtin.dpkg_selections:
name: "{{ item }}"
selection: hold
when: ansible_os_family == 'Debian'
ignore_errors: true
loop:
- grub-pc
- initramfs-tools
- linux-image-generic
- name: Run the equivalent of "apt-get update && apt-get upgrade"
ansible.builtin.apt:
upgrade: safe
update_cache: true
when: ansible_os_family == 'Debian'
- name: Install required tools on SuSE
# cannot use zypper module, since it depends on python-xml
ansible.builtin.command: zypper -n install python-xml