--- - name: Install VSCode ansible.builtin.apt: deb: https://github.com/coder/code-server/releases/download/v{{ ha_vscode_version }}/code-server_{{ ha_vscode_version }}_amd64.deb - name: Enable VSCode service ansible.builtin.systemd_service: name: code-server@{{ ha_user }} state: restarted enabled: true - name: Install config file ansible.builtin.template: src: config.yaml.j2 dest: "/home/homeassistant/.config/code-server/config.yaml" owner: homeassistant group: homeassistant mode: "0644" notify: Restart code-server