2017-02-03 03:18:50 +01:00
|
|
|
[![Build Status - Master](https://travis-ci.org/juju4/ansible-fprobe.svg?branch=master)](https://travis-ci.org/juju4/ansible-fprobe)
|
|
|
|
[![Build Status - Devel](https://travis-ci.org/juju4/ansible-fprobe.svg?branch=devel)](https://travis-ci.org/juju4/ansible-fprobe/branches)
|
2016-10-30 20:40:48 +01:00
|
|
|
# Fprobe ansible role
|
|
|
|
|
|
|
|
Ansible role to setup fprobe as netflow exporter
|
|
|
|
http://fprobe.sourceforge.net/
|
|
|
|
|
|
|
|
## Requirements & Dependencies
|
|
|
|
|
|
|
|
### Ansible
|
|
|
|
It was tested on the following versions:
|
|
|
|
* 1.9
|
|
|
|
* 2.0
|
2017-02-03 03:18:50 +01:00
|
|
|
* 2.2
|
2018-06-02 06:24:11 +02:00
|
|
|
* 2.5
|
2016-10-30 20:40:48 +01:00
|
|
|
|
|
|
|
### Operating systems
|
|
|
|
|
2018-06-02 06:24:11 +02:00
|
|
|
Ubuntu 14.04, 16.04, 18.04 and Centos 7
|
2016-10-30 20:40:48 +01:00
|
|
|
|
|
|
|
## Example Playbook
|
|
|
|
|
|
|
|
Just include this role in your list.
|
|
|
|
For example
|
|
|
|
|
|
|
|
```
|
|
|
|
- host: all
|
|
|
|
roles:
|
|
|
|
- juju4.fprobe
|
|
|
|
```
|
|
|
|
|
|
|
|
## Variables
|
|
|
|
|
|
|
|
Nothing specific for now.
|
|
|
|
|
|
|
|
## Continuous integration
|
|
|
|
|
|
|
|
This role has a travis basic test (for github), more advanced with kitchen and also a Vagrantfile (test/vagrant).
|
|
|
|
Default kitchen config (.kitchen.yml) is lxd-based, while (.kitchen.vagrant.yml) is vagrant/virtualbox based.
|
|
|
|
|
|
|
|
Once you ensured all necessary roles are present, You can test with:
|
|
|
|
```
|
|
|
|
$ gem install kitchen-ansible kitchen-lxd_cli kitchen-sync kitchen-vagrant
|
|
|
|
$ cd /path/to/roles/juju4.fprobe
|
|
|
|
$ kitchen verify
|
|
|
|
$ kitchen login
|
|
|
|
$ KITCHEN_YAML=".kitchen.vagrant.yml" kitchen verify
|
|
|
|
```
|
|
|
|
or
|
|
|
|
```
|
|
|
|
$ cd /path/to/roles/juju4.fprobe/test/vagrant
|
|
|
|
$ vagrant up
|
|
|
|
$ vagrant ssh
|
|
|
|
```
|
|
|
|
|
|
|
|
## Troubleshooting & Known issues
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
BSD 2-clause
|
|
|
|
|