From 0a5e0acb7fed7ca5804c849d40f373d1c05936c3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 26 Jan 2023 16:17:06 +0100 Subject: snap: forgot to remove the extra conditional --- roles/snap/tasks/main.yml | 7 ------- 1 file changed, 7 deletions(-) (limited to 'roles') diff --git a/roles/snap/tasks/main.yml b/roles/snap/tasks/main.yml index 5cb2fd2..755a695 100644 --- a/roles/snap/tasks/main.yml +++ b/roles/snap/tasks/main.yml @@ -1,11 +1,4 @@ -- name: Check if snap is installed - command: snap --version - register: snap_version - changed_when: false - failed_when: false - - become: true - when: snap_version.rc == 0 and etc_versioned block: - name: Check for changes in /etc command: git status --porcelain=v1 -- cgit v1.2.3