From e93e76266cbbe89c5698e13c18ba5bc2a37fd125 Mon Sep 17 00:00:00 2001 From: Sean Cavanaugh Date: Tue, 6 Feb 2018 14:52:19 -0500 Subject: [PATCH] hostname parameter should be host_name (#35798) the hostname parameter is wrong. It will throw an error: "Unsupported parameters for (vyos_system) module: hostname Supported parameters include: domain_name, domain_search, host, host_name, name_server, password, port, provider, ssh_keyfile, state, timeout, username" It is supposed to be host_name. Only the example for documentation seems to be wrong in the module. --- lib/ansible/modules/network/vyos/vyos_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/vyos/vyos_system.py b/lib/ansible/modules/network/vyos/vyos_system.py index c17117ea03..d576882f86 100644 --- a/lib/ansible/modules/network/vyos/vyos_system.py +++ b/lib/ansible/modules/network/vyos/vyos_system.py @@ -72,7 +72,7 @@ commands: EXAMPLES = """ - name: configure hostname and domain-name vyos_system: - hostname: vyos01 + host_name: vyos01 domain_name: test.example.com - name: remove all configuration