imfreedom/teamcity-ansible
Clone
Summary
Browse
Changes
Graph
Add an additional group to the playbook so we can define which to use in our inventories
2019-11-10, Gary Kramlich
83461d8b54ec
file is
Executable
Add an additional group to the playbook so we can define which to use in our inventories
#!/bin/sh -e
if
[
"
${#}
"
-lt
1
]
;
then
echo
"You must specify an inventory file to use"
exit
1
fi
INVENTORY
=
"
${
1
}
"
shift
ansible-playbook
-b
agent.yml
-i
"
${
INVENTORY
}
"
$@