mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
use FQCN
This commit is contained in:
parent
db1b355dab
commit
36f0362bfc
1 changed files with 4 additions and 4 deletions
|
|
@ -42,7 +42,7 @@
|
|||
- name: test create rdns with checkmode
|
||||
hcloud_rdns:
|
||||
server: "{{ hcloud_server_name }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ipaddr('next_usable') }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ansible.netcommon.ipaddr('next_usable') }}"
|
||||
dns_ptr: "example.com"
|
||||
state: present
|
||||
register: result
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
- name: test create rdns
|
||||
hcloud_rdns:
|
||||
server: "{{ hcloud_server_name }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ipaddr('next_usable') }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ansible.netcommon.ipaddr('next_usable') }}"
|
||||
dns_ptr: "example.com"
|
||||
state: present
|
||||
register: rdns
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
- name: test create rdns idempotency
|
||||
hcloud_rdns:
|
||||
server: "{{ hcloud_server_name }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ipaddr('next_usable') }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ansible.netcommon.ipaddr('next_usable') }}"
|
||||
dns_ptr: "example.com"
|
||||
state: present
|
||||
register: result
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
- name: test absent rdns
|
||||
hcloud_rdns:
|
||||
server: "{{ hcloud_server_name }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ipaddr('next_usable') }}"
|
||||
ip_address: "{{ setup.hcloud_server.ipv6 | ansible.netcommon.ipaddr('next_usable') }}"
|
||||
state: absent
|
||||
register: result
|
||||
- name: verify test absent rdns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue