Commit a6294609 authored by Stefano Rivera's avatar Stefano Rivera

Hardcode the location of the playbook repo's inventory

It's confusing to use "inventory_repo_dir" to describe the location of
the inventory within the playbook repo.
parent 2b2e54df
Pipeline #34087 passed with stage
in 2 minutes and 40 seconds
......@@ -33,7 +33,7 @@ esac
git clone $playbook_repo /root/playbook-repo
(cd /root/playbook-repo; git checkout $playbook_branch)
INVENTORY=/root/playbook-repo/$inventory_repo_dir/hosts
INVENTORY=/root/playbook-repo/inventory/hosts
PLAYBOOKS=/root/playbook-repo/site.yml
if [ "${inventory_repo}" != "" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment