First commit

This commit is contained in:
Adrien Reslinger 2018-10-08 08:18:25 +02:00
commit 630c5a6872
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
6 changed files with 67 additions and 0 deletions

28
tasks/add_repo_Debian.yml Normal file
View 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