From d04a5246de165ef52c33693cf0a8346f07e90d59 Mon Sep 17 00:00:00 2001 From: Alexander Gubin Date: Wed, 19 Apr 2017 15:49:36 +0200 Subject: [PATCH] Fix example fact(ansible_default_ipv4.address) for delegated_facts --- docs/docsite/rst/playbooks_delegation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/playbooks_delegation.rst b/docs/docsite/rst/playbooks_delegation.rst index 0f4710b9b14..6ae63655189 100644 --- a/docs/docsite/rst/playbooks_delegation.rst +++ b/docs/docsite/rst/playbooks_delegation.rst @@ -182,7 +182,7 @@ In 2.0, the directive `delegate_facts` may be set to `True` to assign the task's with_items: "{{groups['dbservers']}}" The above will gather facts for the machines in the dbservers group and assign the facts to those machines and not to app_servers. -This way you can lookup `hostvars['dbhost1']['default_ipv4_addresses'][0]` even though dbservers were not part of the play, or left out by using `--limit`. +This way you can lookup `hostvars['dbhost1']['default_ipv4']['address']` even though dbservers were not part of the play, or left out by using `--limit`. .. _run_once: