--- - name: Ensures basic scripts & configs set up for Raspberry Pis hosts: raspberries vars: password_excluded_hosts: - pikvm tasks: - name: Set root passwords ansible.builtin.include_role: name: random_root_password when: ansible_hostname not in password_excluded_hosts - name: Ensure rpi scripts are present ansible.builtin.include_role: name: rpi_scripts - name: Include the rpi_watchdog role ansible.builtin.include_role: name: rpi_watchdog - name: Ensure vim config is present for pi ansible.builtin.include_role: name: configure_vim - name: Include profile aliases ansible.builtin.include_role: name: profile_aliases - name: Include basic package list ansible.builtin.include_role: name: basic_setup - name: Configure pibox extras ansible.builtin.include_role: name: pibox_basics when: ansible_hostname == 'piparcel'