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

win install in file mode does not copy the file? #253

Closed
FlorianHeigl opened this issue Sep 12, 2022 · 5 comments
Closed

win install in file mode does not copy the file? #253

FlorianHeigl opened this issue Sep 12, 2022 · 5 comments

Comments

@FlorianHeigl
Copy link

FlorianHeigl commented Sep 12, 2022

i might be doing something wrong -
but I cannot find anything that would transfer the agent installer file from the control node to the remote system.

is there?

@carlosmmatos
Copy link
Contributor

@FlorianHeigl - Check out this discussion here.. let me know if this helps

If this is for windows - then just replace ansible.builtin.copy with ansible.windows.win_copy

@carlosmmatos
Copy link
Contributor

@FlorianHeigl did this help?

@FlorianHeigl
Copy link
Author

@carlosmmatos hi, I had already hacked in some win_copy usage the night I ran into the issue?
I had to make my install work with ansible 2.9, so it's a bit hard to provide a good-looking PR.

If you want I can provide the right snippet here.

@carlosmmatos
Copy link
Contributor

carlosmmatos commented Sep 21, 2022

@FlorianHeigl Thanks for the response back.

You're always more than welcome to submit a PR, but if it's for the functionality of simply copying the installer, then it's not going to get merged in. In that thread above I linked, the reason for this is that we don't want to enforce a method of deployment when using the local file installation option. We're more than happy to install the falcon sensor locally, but it's up to the customer how they would like to get that sensor distributed (ie, via Ansbile copy, NFS, Samba/CIFS, etc). It's easy enough to just add a pre-task to your playbook prior to running the falcon_install role.

@FlorianHeigl
Copy link
Author

Got it. closing my issue accordingly.

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

2 participants