From 01e1b51e33d2c8611c34e208606286d1efb59a61 Mon Sep 17 00:00:00 2001 From: Ben Thomasson Date: Tue, 5 Jun 2018 14:03:27 -0400 Subject: [PATCH] Fix typo in the ansible-inventory --host error (#41142) --- lib/ansible/cli/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/inventory.py b/lib/ansible/cli/inventory.py index 4c7d4dfd498..f3d70af896f 100644 --- a/lib/ansible/cli/inventory.py +++ b/lib/ansible/cli/inventory.py @@ -161,7 +161,7 @@ class InventoryCLI(CLI): if self.options.host: hosts = self.inventory.get_hosts(self.options.host) if len(hosts) != 1: - raise AnsibleOptionsError("You must pass a single valid host to --hosts parameter") + raise AnsibleOptionsError("You must pass a single valid host to --host parameter") myvars = self._get_host_variables(host=hosts[0]) self._remove_internal(myvars)