First commit
This commit is contained in:
commit
630c5a6872
6 changed files with 67 additions and 0 deletions
28
tasks/add_repo_Debian.yml
Normal file
28
tasks/add_repo_Debian.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
#- name: Registering Ubuntu VisualStudio Code repository
|
||||
# get_url:
|
||||
# url: https://packages.microsoft.com/config/ubuntu/{{ ansible_distribution_version }}/prod.list
|
||||
# dest: /etc/apt/sources.list.d/microsoft.list
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: 0644
|
||||
# when:
|
||||
# - ansible_distribution == "Ubuntu"
|
||||
|
||||
- name: Registering Debian Powershell repository
|
||||
apt_repository:
|
||||
repo: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
|
||||
filename: vscode.list
|
||||
state: present
|
||||
update_cache: yes
|
||||
mode: 0644
|
||||
# owner: root
|
||||
# group: root
|
||||
# when:
|
||||
# - ansible_distribution == "Debian"
|
||||
|
||||
- name: Install public repository GPG keys
|
||||
apt_key:
|
||||
url: https://packages.microsoft.com/keys/microsoft.asc
|
||||
state: present
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue