From 181949d1651cf53e6d2b9d5b6a7213d40f324f5c Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Fri, 22 Apr 2022 10:35:17 +0300 Subject: [PATCH] Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt (#125) * Sanity tests: copy ignore-2.13.txt to ignore-2.14.txt * Fix sanity --- plugins/inventory/hcloud.py | 4 +++- tests/sanity/ignore-2.14.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 tests/sanity/ignore-2.14.txt diff --git a/plugins/inventory/hcloud.py b/plugins/inventory/hcloud.py index be35e2d..26d6cf9 100644 --- a/plugins/inventory/hcloud.py +++ b/plugins/inventory/hcloud.py @@ -7,7 +7,6 @@ __metaclass__ = type DOCUMENTATION = r''' name: hcloud - plugin_type: inventory author: - Lukas Kaemmerling (@lkaemmerling) short_description: Ansible dynamic inventory plugin for the Hetzner Cloud. @@ -45,16 +44,19 @@ DOCUMENTATION = r''' description: Populate inventory with instances in this location. default: [] type: list + elements: str required: false types: description: Populate inventory with instances with this type. default: [] type: list + elements: str required: false images: description: Populate inventory with instances with this image name, only available for system images. default: [] type: list + elements: str required: false label_selector: description: Populate inventory with instances with this label. diff --git a/tests/sanity/ignore-2.14.txt b/tests/sanity/ignore-2.14.txt new file mode 100644 index 0000000..caf2217 --- /dev/null +++ b/tests/sanity/ignore-2.14.txt @@ -0,0 +1,2 @@ +tests/utils/shippable/check_matrix.py replace-urlopen +tests/utils/shippable/timing.py shebang