From 5392d2894990196c4596862da0041e50a93bd461 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 31 Jul 2021 20:34:09 -0500 Subject: [PATCH] Fix block commands in setup script --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36d33a8..bce5766 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,8 @@ before_script: # Fix perms on the playbook root - chmod -R 0750 . # Join the Zerotier management network - - [ -n "$ZEROTIER_NETWORK_ID" ] && \ + - | + [ -n "$ZEROTIER_NETWORK_ID" ] && \ wget -qO - https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg | apt-key add - && \ echo "deb http://download.zerotier.com/debian/buster buster main" >> /etc/apt/sources.list && \ apt update && \ @@ -32,7 +33,8 @@ before_script: # Get ready for execution - ansible-galaxy install -r roles/requirements.yml -p roles after_script: - - [ -n "$ZEROTIER_NETWORK_ID" ] && \ + - | + [ -n "$ZEROTIER_NETWORK_ID" ] && \ zerotier-cli leave "$ZEROTIER_NETWORK_ID" Lint: