--- - name: Base hosts: tamriel remote_user: root become: yes tasks: - name: Ensure apt has https transport apt: name=apt-transport-https - name: Syncthing gpg keys apt_key: url: https://syncthing.net/release-key.txt - name: Syncthing deb repository apt_repository: repo: deb [arch=amd64] https://apt.syncthing.net/ syncthing stable update_cache: true - name: Base packages apt: name: - tmux - htop - syncthing - tig - git - rsync - python3-pip - mc - mosh - podman force_apt_get: true update_cache: true - name: Upgrade all packages apt: upgrade: full - name: Enable services systemd: enabled: true state: started name: "{{ item }}" with_items: - "syncthing@pawel"