-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote-exec provisioner error #8
Comments
Hey! Thanks for this report, it looks like Elastic introduced a breaking change by starting to ask for confirmations when running this command:
Root cause seems to be this command: https://www.elastic.co/guide/en/elasticsearch/reference/master/reset-password.html, which luckily does have a Could you try modifying the command in the (Sorry, would do that myself, but I'm quite busy ATM :) ) |
Hey, thanks for applying the fix! Looks like this is a new problem as indicated by the error message. It seems like the IP address for Elastic is not properly propagated from Terraform to Ansible this time - this could be because you tried running Ansible separately. This is possible, but in that case you would need to fill the Template files with the IP addresses from your |
I tried applying IP addresses manually but got the same error as the first post. i tried running what i assume is the provisioning (ansible-playbook -v cloudlabs.yml) but it ended up with the same issue :/ |
Could you please provide a bit more information on how you provided the IP address to Ansible? Since the error you get now must be related to faulty config, and not the original issue :) |
Original issue has been addressed in 9fbe65d, keeping this open for support on the config issue |
Hey, I decided to restart the whole process. these are the errors i have encountered. hopefully this will give some kind of insight. First error My fix Added username: Second error: My fix: Third error: This is where I'm stuck :( sorry for a long post, if we ever meet i'll buy you a beer. :) |
Hi @Shoulderboy, thanks for the more detailed information! I think I see what the error is now. The below line: https://github.com/chvancooten/CloudLabsAD/blob/main/Terraform/08-ansible.tf#L45 references the wrong template ( |
I'm trying to deplpy CloudLabs with terraform in my Azure subscription.
But i keep failing on "remote-exec provisioner error" (see picture)
I can connect to all the VMs created
i would appreciate any help on this issue.
similar error when running the tmp/script from the hackbox.
The text was updated successfully, but these errors were encountered: