Commit f2ac34c5 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

get-coordinates script

parent 8ca40854
Pipeline #29808 passed with stages
in 1 minute and 18 seconds
#!/bin/bash
cd /var/www/microdep
curl -s -o /var/www/microdep/mp-geo.json "https://kind.uninett.no/api/ansible_inventory.json?tjenester=mp"
curl -s -o /var/www/microdep/ytelse-geo.json "https://kind.uninett.no/api/ansible_inventory.json?tjenester=ytelse"
if test -s mp-geo.json -a -s ytelse-geo.json ; then
cat mp-geo.json ytelse-geo.json > uninett-geo.json
fi
if test -s dragonlab-base.json -a -s ytelse-geo.json ; then
cat dragonlab-base.json ytelse-geo.json > dragonlab-geo.json
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment