New paste Repaste Download
- name: Key for microsoft repo
  ansible.builtin.get_url:
    url: https://packages.microsoft.com/keys/microsoft.asc
    dest: /etc/apt/keyrings/microsoft.asc
    checksum: sha256:2cfd20a306b2fa5e25522d78f2ef50a1f429d35fd30bd983e2ebffc2b80944fa
    mode: '0444'
- name: Set up repositories
  ansible.builtin.apt_repository:
    repo: deb [signed-by=/etc/apt/keyrings/microsoft.asc] https://packages.microsoft.com/repos/code stable main
    state: present
    filename: microsoft
Filename: roles/microsoft-repo/tasks/main.yml. Size: 490b. View raw, , hex, or download this file.

This paste expires on 2025-07-21 00:54:33.712378. Pasted through web.