Skip to content
Snippets Groups Projects
Commit 6b3e9934 authored by nimrod's avatar nimrod
Browse files

Added assertions to Visual Studio Code playbook.

parent fc4c0427
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
become: yes become: yes
become_user: root become_user: root
tasks: tasks:
- name: Assertions
assert:
that:
- ansible_architecture == 'x86_64'
- ansible_pkg_mgr == 'apt'
- name: Add repo key - name: Add repo key
apt_key: apt_key:
url: https://packages.microsoft.com/keys/microsoft.asc url: https://packages.microsoft.com/keys/microsoft.asc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment