-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathget-dependencies.sh
executable file
·18 lines (14 loc) · 1.05 KB
/
get-dependencies.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
## one script to be used by travis, jenkins, packer...
umask 022
rolesdir=$(dirname $0)/..
[ $APPVEYOR ] && rolesdir=/etc/ansible/roles
[ ! -d $rolesdir/juju4.win_firewall ] && git clone https://github.com/juju4/ansible-win-firewall $rolesdir/juju4.win_firewall
[ ! -d $rolesdir/juju4.win_eventlog ] && git clone https://github.com/juju4/ansible-win-eventlog $rolesdir/juju4.win_eventlog
[ ! -d $rolesdir/juju4.win_audit ] && git clone https://github.com/juju4/ansible-win-audit $rolesdir/juju4.win_audit
[ ! -d $rolesdir/juju4.win_powershell ] && git clone https://github.com/juju4/ansible-win-powershell $rolesdir/juju4.win_powershell
[ ! -d $rolesdir/juju4.win_sysmon ] && git clone https://github.com/juju4/ansible-win-sysmon $rolesdir/juju4.win_sysmon
[ ! -d $rolesdir/juju4.win_applocker ] && git clone https://github.com/juju4/ansible-win-applocker $rolesdir/juju4.win_applocker
[ ! -d $rolesdir/juju4.win_osquery ] && git clone https://github.com/juju4/ansible-win-osquery $rolesdir/juju4.win_osquery
## don't stop build on this script return code
true