https://gitlab.com/spirostack/spiro-ip
Salt modules for discovering and exposing minion's IP addresses
https://gitlab.com/spirostack/spiro-ip
Last synced: about 1 year ago
JSON representation
Salt modules for discovering and exposing minion's IP addresses
- Host: gitlab.com
- URL: https://gitlab.com/spirostack/spiro-ip
- Owner: spirostack
- License: agpl-3.0
- Created: 2018-11-26T00:54:00.733Z (over 7 years ago)
- Default Branch: master
- Last Synced: 2025-03-21T13:46:09.040Z (about 1 year ago)
- Stars: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
*Warning*: This has been deprecated in favor of [spiro-network](https://gitlab.com/spirostack/spiro-network).
spiro-ip
========
A quick and simple module to get information about the various IPs of your salt
minions.
This is meant to be installed on minions.
Full docs available [online](https://spirostack.com/spiro-ip.html).
Installation
============
On minions, install the `spiro-ip` PyPI package.
Interface
=========
A number of things are provided:
Grains
------
* `externalip4`, `externalip6`: Queries external services for your IP, useful
if the minion is behind a NAT or other complex network
Modules
-------
* `ip.addrs4`, `ip.addrs6`: Collates information about a minion's IP address
from several sources.
* `network.ipaddrs` / `network.ipaddrs6`
* AWS metadata if the [metadata grain](https://docs.saltstack.com/en/latest/ref/grains/all/salt.grains.metadata.html) is available
* `externalip4` / `externalip6` grains (above)
Configuration
=============
spiro-ip requires no configuration to function.