diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9b53df79..19b169dc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,19 @@ Infoblox.Nios_Modules Release Notes .. contents:: Topics +v1.7.1 +====== + +Release Summary +--------------- +This update focuses on specific improvements and bug fixes for Host records to enhance system functionality and performance. + +Bugfixes +-------- +- Refined Host record return fields to ensure use_nextserver and nextserver are only included for IPv4, as these fields are not applicable to IPv6. `#274 `_ +- For Host IPv6, the mac parameter has been renamed to duid. `#274 `_ + + v1.7.0 ====== diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index c13fa0bc..6ab23b95 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -194,4 +194,4 @@ plugins: shell: {} strategy: {} vars: {} -version: 1.7.0 +version: 1.7.1 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index f70f7dd2..85250892 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -287,3 +287,10 @@ releases: name: nios_nsgroup_stubmember namespace: "" release_date: "2024-10-04" + 1.7.1: + changes: + bugfixes: + - Refined Host record return fields to ensure use_nextserver and nextserver are only included for IPv4, as these fields are not applicable to IPv6. + - For Host IPv6, the mac parameter has been renamed to duid. + release_summary: "This update focuses on specific improvements and bug fixes for Host records to enhance system functionality and performance." + release_date: "2024-11-18" diff --git a/galaxy.yml b/galaxy.yml index 602bc1ed..61b0aec4 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -10,7 +10,7 @@ namespace: infoblox name: nios_modules # The version of the collection. Must be compatible with semantic versioning -version: 1.7.0 +version: 1.7.1 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/plugins/modules/nios_host_record.py b/plugins/modules/nios_host_record.py index d633ec7b..e83d53da 100644 --- a/plugins/modules/nios_host_record.py +++ b/plugins/modules/nios_host_record.py @@ -364,6 +364,22 @@ username: admin password: admin connection: local + +- name: Create host record with IPv4 and IPv6 addresses + infoblox.nios_modules.nios_host_record: + name: hostrec.ansible.com + ipv4: + - address: 192.168.10.7 + mac: 12:80:C8:E3:4C:AB + ipv6: + - address: fe80::10 + duid: 12:80:C8:E3:4C:B4 + state: present + provider: + host: "{{ inventory_hostname_short }}" + username: admin + password: admin + connection: local ''' RETURN = ''' # '''