#SPDX-License-Identifier: BSD-3-Clause --- - name: Update apt cache ansible.builtin.apt: update_cache: true - name: Install Packages ansible.builtin.apt: name: "{{ item }}" state: present loop: "{{ ubuntu_install_packages }}" notify: - Clean apt cache - Reboot Server