Skip to content

falcon_discover dynamic inventory - ssh and winrm variables #525

Answered by carlosmmatos
ghost asked this question in General
Discussion options

You must be logged in to vote

@aaron-hodges-state-of-missouri you can do this a couple of ways but it's really up to you. Check out https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html# for general ideas. I think the easiest method is to use group vars or some form of logical grouping. If you look at the examples in the falcon_discover you will get some idea.. but maybe you want to have a linux group and a windows group.. you can do something like:

plugin: crowdstrike.falcon.falcon_discover
# authentication credentials (required if not using environment variables)
#client_id: 1234567890abcdef12345678
#client_secret: 1234567890abcdef1234567890abcdef12345
#cloud: us-1
# place hosts in named group…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
1 participant