Hello,
I am using the collection in Version 5.0.0 and try to configure the base system network settings for DNS and domain search. I configured the module like in the example
- name: Configure domain search suffixes
vyos.vyos.vyos_system:
domain_search:
- nbg.bufanda.de
host_name: "{{ inventory_hostname }}"
name_server:
- "10.146.18.222"
- "10.146.18.98"But when I run the playbook I get the following error message for configuring the domain-search.
TASK [interfaces : Configure domain search suffixes] *****************************************************************************************************************************
task path: /home/thorsten/Projects/ansible/ansible-vyos/roles/interfaces/tasks/main.yml:24
Thursday 24 April 2025 13:07:02 +0200 (0:00:01.004) 0:00:14.187 ********
redirecting (type: connection) ansible.builtin.network_cli to ansible.netcommon.network_cli
redirecting (type: terminal) ansible.builtin.vyos to vyos.vyos.vyos
redirecting (type: cliconf) ansible.builtin.vyos to vyos.vyos.vyos
fatal: [ve]: FAILED! => {"changed": false, "msg": "set system domain-search domain 'nbg.bufanda.de'\r\n\r\n Configuration path: system domain-search domain [nbg.bufanda.de] is not valid\r\n Set failed\r\n\r\n[edit]\r\r\nvyos@ve# "}I am using currently the Rolling Release in Version 2025.04.21-0020-rolling.