From 6b3e99342ee6608478bb9d9df3fe22617ab01240 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 28 Sep 2017 22:38:46 +0300 Subject: [PATCH] Added assertions to Visual Studio Code playbook. --- vscode.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vscode.yml b/vscode.yml index 5f7494f..f62b556 100644 --- a/vscode.yml +++ b/vscode.yml @@ -3,6 +3,12 @@ become: yes become_user: root tasks: + - name: Assertions + assert: + that: + - ansible_architecture == 'x86_64' + - ansible_pkg_mgr == 'apt' + - name: Add repo key apt_key: url: https://packages.microsoft.com/keys/microsoft.asc -- GitLab