Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juju4/ansible-win-osquery

Windows osquery setup
https://github.com/juju4/ansible-win-osquery

Last synced: 12 days ago
JSON representation

Windows osquery setup

Awesome Lists containing this project

README

        

[![Appveyor - Master](https://ci.appveyor.com/api/projects/status/j4e34u1swf3keo6y/branch/master?svg=true)](https://ci.appveyor.com/project/juju4/ansible-win-osquery/branch/master)
[![Appveyor - Devel](https://ci.appveyor.com/api/projects/status/j4e34u1swf3keo6y/branch/devel?svg=true)](https://ci.appveyor.com/project/juju4/ansible-win-osquery/branch/devel)

# Windows osquery ansible role

Ansible role to setup osquery on windows system.

## Requirements & Dependencies

### Ansible
It was tested on the following versions:
* 2.4 (required since s/include:/include_tasks:/)
* 4.10.0
* 5.3.0

### Operating systems

Tested against Win10 and Ws2016 Evaluation.
Follow http://kitchen.ci/blog/test-kitchen-windows-test-flight-with-vagrant/

## Example Playbook

Just include this role in your list.
For example

```
- host: all
roles:
- juju4.win_osquery
```

Run
```
$ ansible -i inventory -m win_ping win --ask-pass
$ ansible-playbook -i inventory --limit win site.yml
```

## Variables

See defaults/main.yml for full scope

## Continuous integration

This role has a travis basic test (for github, syntax check only) and a Vagrantfile (test/vagrant).

```
$ cd /path/to/roles/juju4.win_osquery/test/vagrant
$ vagrant up
$ vagrant provision
$ vagrant destroy
$ ansible -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -m win_ping -e ansible_winrm_server_cert_validation=ignore -e ansible_ssh_port=55986 all
```

## Troubleshooting & Known issues

## FAQ

## License

BSD 2-clause