imfreedom/teamcity-ansible
Clone
Summary
Browse
Changes
Graph
Update roles to declare their dependencies
draft
2021-06-02, Gary Kramlich
2526cb817526
file is
Executable
Update roles to declare their dependencies
#!/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
}
"
$@