diff --git a/tasks/install-apt.yml b/tasks/install-apt.yml index 1af5efb..674203a 100644 --- a/tasks/install-apt.yml +++ b/tasks/install-apt.yml @@ -19,7 +19,7 @@ become: true ansible.builtin.get_url: url: '{{ visual_studio_code_mirror }}/keys/microsoft.asc' - dest: '/etc/apt/keyrings/' + dest: '/etc/apt/trusted.gpg.d/' mode: 'u=rw,go=r' force: true @@ -29,7 +29,7 @@ repo: >- deb [arch={{ visual_studio_code_deb_architecture }} {{ visual_studio_code_gpgcheck | ternary("", " trusted=true") }} - signed-by=/etc/apt/keyrings/microsoft.asc] + signed-by=/etc/apt/trusted.gpg.d/microsoft.asc] {{ visual_studio_code_mirror }}/repos/code stable main filename: vscode state: present