aiegoo / ansible

deploy automation
0 stars 0 forks source link

vimrc trailing space #1

Open aiegoo opened 5 years ago

aiegoo commented 5 years ago

set list listchars=tab:\ \ ,trail:∙

aiegoo commented 5 years ago

!/usr/bin/bash

1 2 if [ -z "$1" ] 3 then 4 echo "Repository name needed as argument"; 5 exit; 6 fi 7 8 config_file="/etc/server-update/slavelist.txt" 9 10 while read line; 11 do 12 echo "Sending request to $line"; 13 curl "$line/get/?repo=$1"; 14 done < $config_file 15 ~