imfreedom/teamcity-ansible
Clone
Summary
Browse
Changes
Graph
lots of updates.. i need to commit more often here.. sorry but i'm not sifting through this right now
draft
2020-06-17, Gary Kramlich
0094b5c9cc54
file is
Executable
lots of updates.. i need to commit more often here.. sorry but i'm not sifting through this right now
#!/bin/sh -e
if
[
"
${#}
"
-lt
1
]
;
then
echo
"You must specify an inventory file to use"
exit
1
fi
INVENTORY
=
"
${
1
}
"
shift
ANSIBLE_NOCOWS
=
1
ansible-playbook
-b
agent.yml
-i
"
${
INVENTORY
}
"
$@