Skip to content

Commit e1ca80d

Browse files
committed
refactor: split the long commands over multiple lines
1 parent a3717bb commit e1ca80d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/main/scripts/ci/deploy.sh

+10-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ fi
3838
openssl aes-256-cbc -K "$encrypted_bf07cb25089f_key" -iv "$encrypted_bf07cb25089f_iv" -in "$PRIVATE_KEY.enc" -out "$PRIVATE_KEY" -d
3939
chmod 600 "$PRIVATE_KEY"
4040

41-
ansible-playbook --inventory="$INVENTORY" "$PLAYBOOK" --syntax-check
42-
43-
exec ansible-playbook --inventory="$INVENTORY" "$PLAYBOOK" --private-key="$PRIVATE_KEY"
41+
ansible-playbook \
42+
--inventory="$INVENTORY" \
43+
"$PLAYBOOK" \
44+
--syntax-check
45+
46+
exec \
47+
ansible-playbook \
48+
--inventory="$INVENTORY" \
49+
"$PLAYBOOK" \
50+
--private-key="$PRIVATE_KEY"

0 commit comments

Comments
 (0)