--- - name: Install and update basic tools apt: update_cache: true name: - sudo - vim - htop - ntp - bash-completion - less - screen - git - python3-pip # Because I like python state: latest register: apt_result retries: 3 until: apt_result is succeeded - name: Customize motd copy: src: "update-motd.d/{{ item }}" dest: "/etc/update-motd.d/{{ item }}" mode: 0755 loop: - 01-logo