Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory support for labels, server groups, server metadata and public/private IP addresses. #16

Merged
merged 5 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ UpCloud Collection requires [UpCloud API's Python bindings](https://pypi.org/pro
newer in order to work. It can be installed from the Python Package Index with the `pip` tool:

```bash
pip3 install upcloud-api>=2.0.0
pip3 install upcloud-api>=2.5.0
```

The collection itself can be installed with the `ansible-galaxy` command that comes with the Ansible package:
Expand Down Expand Up @@ -67,12 +67,14 @@ You can filter based on multiple data points:
plugin: community.upcloud.upcloud
zones:
- fi-hel2
tags:
- app
- db
labels:
- role=prod
- foo
states:
- started
connect_with: private_ipv4
network: 035a0a8a-7704-4da5-820d-129fc8232714
server_group: Group name or UUID
```

Servers can also be grouped by status, zone etc by specifying them as `keyed_groups`.
Expand Down
Loading
Loading