From 49768bcc47ea8ec9c8982a036fd019ab088308cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Myyr=C3=A4?= Date: Mon, 25 Sep 2023 16:41:16 +0300 Subject: [PATCH] Release v0.6.0 --- CHANGELOG.md | 15 +++++++++++++-- README.md | 12 ++++++------ galaxy.yml | 2 +- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6db461f..b48bc9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [0.6.0] - 2023-09-25 + +### Added + +- Inventory support for filtering with server labels and server groups + +### Changed + +- Servers that are not reachable with matching `connect_with` option are skipped, instead of returning an error. + ## [0.5.1] - 2021-10-19 ### Changed @@ -22,6 +32,7 @@ First release for the new UpCloud Ansible Collection! :tada: - Ansible inventory for UpCloud servers, allowing filtering with zones, tags, networks or server states. -[Unreleased]: https://github.com/UpCloudLtd/upcloud-ansible-collection/compare/v0.5.0...HEAD -[0.5.1]: https://github.com/UpCloudLtd/upcloud-ansible-collection/compare/v0.5.0...v0.5.1 +[Unreleased]: https://github.com/UpCloudLtd/upcloud-ansible-collection/compare/v0.6.0...HEAD +[0.6.0]: https://github.com/UpCloudLtd/upcloud-ansible-collection/releases/tag/v0.6.0 +[0.5.1]: https://github.com/UpCloudLtd/upcloud-ansible-collection/releases/tag/v0.5.1 [0.5.0]: https://github.com/UpCloudLtd/upcloud-ansible-collection/releases/tag/v0.5.0 diff --git a/README.md b/README.md index 7697f8a..567873e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Ansible UpCloud Collection -[![sanity](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/sanity-test.yml/badge.svg)](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/sanity-test.yml) -[![unit](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/unit-tests.yml) +[![Ansible sanity tests](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/sanity-test.yml/badge.svg)](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/sanity-test.yml) +[![unit tests](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/UpCloudLtd/upcloud-ansible-collection/actions/workflows/unit-tests.yml) UpCloud inventory as a modernized Ansible collection. Current scope only covers UpCloud's servers offering, but depending on the demand we might include our other services (networks, (object) storages, routers, databases etc) @@ -18,7 +18,7 @@ sections below for development quickstart if you're interested in adding new fea ### Prerequisites -UpCloud Collection requires [UpCloud API's Python bindings](https://pypi.org/project/upcloud-api/) version 2.0.0 or +UpCloud Collection requires [UpCloud API's Python bindings](https://pypi.org/project/upcloud-api/) version 2.5.0 or newer in order to work. It can be installed from the Python Package Index with the `pip` tool: ```bash @@ -28,7 +28,7 @@ pip3 install upcloud-api>=2.5.0 The collection itself can be installed with the `ansible-galaxy` command that comes with the Ansible package: ```bash -ansible-galaxy collection install https://github.com/UpCloudLtd/upcloud-ansible-collection/releases/download/v0.5.1/community-upcloud-0.5.1.tar.gz +ansible-galaxy collection install https://github.com/UpCloudLtd/upcloud-ansible-collection/releases/download/v0.6.0/community-upcloud-0.6.0.tar.gz ``` ### Inventory usage @@ -54,10 +54,10 @@ export UPCLOUD_PASSWORD="verysecretpassword" And show the Ansible inventory information as a graph: ```bash -ansible-inventory -i upcloud.yml --graph +ansible-inventory -i upcloud.yml --graph --vars ``` -You should see a list of hosts. +You should see a list of hosts and their host variables you can use in playbooks. #### Further examples diff --git a/galaxy.yml b/galaxy.yml index 8a5631e..10351dc 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: community name: upcloud -version: 0.5.1 +version: 0.6.0 readme: README.md authors: - UpCloud developers (github.com/UpCloudLtd)