Skip to content

Commit

Permalink
Merge pull request #16 from UpCloudLtd/feat/labels-metadata-and-priva…
Browse files Browse the repository at this point in the history
…te-addresses

Inventory support for labels, server groups, server metadata and public/private IP addresses.
  • Loading branch information
ajmyyra authored Sep 25, 2023
2 parents 71bbd1b + 1a64a86 commit a0f8103
Show file tree
Hide file tree
Showing 4 changed files with 432 additions and 71 deletions.
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

0 comments on commit a0f8103

Please sign in to comment.