Commit Graph

3 Commits (f68223b9ed8e4405abfcdc53f8ace2cba441c017)

Author SHA1 Message Date
Marc Abramowitz dc63bbf0b9 Simplify serf inventory plugin
using newly added `EnvironmentConfig` class in `serfclient`.

See https://github.com/KushalP/serfclient-py/pull/17
9 years ago
Marc Abramowitz ce42c66e27 plugins/inventory/serf.py: Use SERF_RPC_* env vars
This makes the Serf inventory plugin use the `SERF_RPC_ADDR` and
`SERF_RPC_AUTH` environment variables that the `serf` command-line tool
already uses.

These can be used to get Serf data from a remote node instead of
requiring the ansible control host to be running a serf agent and to be
a member of the serf cluster.
9 years ago
Marc Abramowitz 336f45f5b3 Add serf inventory plugin
Add inventory plugin for [Serf](https://serfdom.io/).
Requires [`serfclient` Python module](https://pypi.python.org/pypi/serfclient).
9 years ago