aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-26 16:17:06 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-26 16:17:06 +0100
commit0a5e0acb7fed7ca5804c849d40f373d1c05936c3 (patch)
tree6ca8b323d00687b9b944b1f661c2aa10aad4bab4 /roles
parentadd role dotfiles (diff)
downloadmaintenance-0a5e0acb7fed7ca5804c849d40f373d1c05936c3.tar.gz
maintenance-0a5e0acb7fed7ca5804c849d40f373d1c05936c3.zip
snap: forgot to remove the extra conditional
Diffstat (limited to 'roles')
-rw-r--r--roles/snap/tasks/main.yml7
1 files changed, 0 insertions, 7 deletions
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