1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

Add collections reference to hcloud_rdns

This commit is contained in:
Lukas Kämmerling 2020-04-09 09:35:59 +02:00
parent 6da08802e9
commit c34d75b252
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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