imfreedom/teamcity-ansible
Clone
Summary
Browse
Changes
Graph
Move everything to be setup like a more common ansible setup
draft
2021-06-02, Gary Kramlich
822b75fd264a
file is
Executable
Move everything to be setup like a more common ansible setup
#!/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
}
"
$@