We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f14c804 commit 7a18c43Copy full SHA for 7a18c43
defaults.sh
@@ -9,8 +9,10 @@ fi
9
mkdir -p $directory/group_vars
10
mkdir -p $directory/host_vars
11
12
-wget -q -P $directory -nc \
13
- https://raw.githubusercontent.com/perfsonar/ansible-playbook-perfsonar/master/inventory/hosts
+if ! [ -e "$directory/hosts" ]; then
+ curl -s -o "$directory/hosts" \
14
+ "https://raw.githubusercontent.com/perfsonar/ansible-playbook-perfsonar/master/inventory/hosts"
15
+fi
16
17
if ! [ -f $directory/group_vars/ps_archive.yml ]; then
18
cp roles/ansible-role-perfsonar-archive/defaults/main.yml \
0 commit comments