From c34d75b2520f2fb99e79b6a90bdca76f4c31906b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20K=C3=A4mmerling?= Date: Thu, 9 Apr 2020 09:35:59 +0200 Subject: [PATCH] Add collections reference to hcloud_rdns --- tests/integration/targets/hcloud_rdns/tasks/main.yml | 4 +++- tests/utils/shippable/shippable.sh | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/hcloud_rdns/tasks/main.yml b/tests/integration/targets/hcloud_rdns/tasks/main.yml index b3b7e4e..43d4080 100644 --- a/tests/integration/targets/hcloud_rdns/tasks/main.yml +++ b/tests/integration/targets/hcloud_rdns/tasks/main.yml @@ -2,6 +2,8 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) --- - name: setup + collections: + - community.general.ipfilter hcloud_server: name: "{{ hcloud_server_name }}" server_type: cx11 @@ -29,7 +31,7 @@ - name: test missing required parameters on create hcloud_rdns: server: "{{ hcloud_server_name }}" - ip_address: "{{ setup.hcloud_server.ipv6 | ipaddr('next_usable') }}" + ip_address: "{{ setup.hcloud_server.ipv6 | community.general.ipfilter.ipaddr('next_usable') }}" state: present register: result ignore_errors: yes diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index ac07474..866fd6c 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -57,7 +57,6 @@ cd "${TEST_DIR}" # STAR: HACK install dependencies retry ansible-galaxy -vvv collection install community.general retry ansible-galaxy -vvv collection install ansible.netcommon -retry ansible-galaxy -vvv collection install community.general.ipfilter retry pip install hcloud # END: HACK