Skip to content
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

Ansible local-exec provisioning errors on MacOS #5

Open
iknowjason opened this issue Jun 7, 2022 · 0 comments
Open

Ansible local-exec provisioning errors on MacOS #5

iknowjason opened this issue Jun 7, 2022 · 0 comments
Assignees

Comments

@iknowjason
Copy link
Owner

│ Error: local-exec provisioner error

│ with module.velocihelk.null_resource.velociraptor-config,
│ on ../modules/velocihelk-vm/3-velociraptor-config.tf line 3, in resource "null_resource" "velociraptor-config":
│ 3: provisioner "local-exec" {

│ Error running command '../modules/velocihelk-vm/velociraptor config generate > ../modules/velocihelk-vm/files/config.yaml': exit status 126. Output: /bin/sh: ../modules/velocihelk-vm/velociraptor: cannot
│ execute binary file



│ Error: local-exec provisioner error

│ with module.ws2019.null_resource.provision-sec_tools,
│ on ../modules/ws2019-vm/3-ansible_sec_tools.tf line 26, in resource "null_resource" "provision-sec_tools":
│ 26: provisioner "local-exec" {

│ Error running command 'ansible-playbook -i '../modules/ws2019-vm/hosts.cfg' '../modules/ws2019-vm/playbook.yml'': exit status 1. Output:
│ PLAY [windows_servers] *********************************************************

│ TASK [endpoint : Copy the ps1 powershell script] *******************************
│ objc[21276]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
│ objc[21276]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a
│ breakpoint on objc_initializeAfterForkError to debug.
│ ERROR! A worker was found in a dead state

@iknowjason iknowjason self-assigned this Jun 7, 2022
@iknowjason iknowjason changed the title Ansible local-exec provisioning errors Ansible local-exec provisioning errors on MacOS Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant