Browse Source
Merge pull request #2273 from infernix/inventory-symlink-fix
Fix symlinking vagrant inventory
pull/2230/head
Antoine Legrand
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Vagrantfile
|
|
@ -61,7 +61,7 @@ if ! File.exist?(File.join(File.dirname($inventory), "hosts")) |
|
|
|
"provisioners", "ansible") |
|
|
|
FileUtils.mkdir_p($vagrant_ansible) if ! File.exist?($vagrant_ansible) |
|
|
|
if ! File.exist?(File.join($vagrant_ansible,"inventory")) |
|
|
|
FileUtils.ln_s($inventory, $vagrant_ansible) |
|
|
|
FileUtils.ln_s($inventory, File.join($vagrant_ansible,"inventory")) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|