- name: Install basic features hosts: all become: true become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster). tasks: - name: Update apt ansible.builtin.apt: update_cache: true cache_valid_time: 3600 - name: Install net-tools ansible.builtin.apt: name: net-tools state: present - name: Install neofetch or fastfetch block: - name: Install neofetch ansible.builtin.apt: name: neofetch state: present rescue: - name: If neofetch is depricated install fastfetch ansible.builtin.apt: name: fastfetch state: present # This file was written by Ebbe Baß (umpi) - ebbe@ping-mee.de