From 75bb7cfbfe9906af58a949457a559daa8debac4f Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 1 Mar 2021 13:26:16 +0000 Subject: [PATCH] Use ansible_facts[] instead of fact variables in docs See https://github.com/ansible/ansible/issues/73654 Change-Id: I5fc19f355fe15dba2bb42067bd35c50dfae8d943 --- doc/source/user/prod/gnocchi_redis.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user/prod/gnocchi_redis.rst b/doc/source/user/prod/gnocchi_redis.rst index 43c41a5ecb..cbfbc9b903 100644 --- a/doc/source/user/prod/gnocchi_redis.rst +++ b/doc/source/user/prod/gnocchi_redis.rst @@ -122,7 +122,7 @@ Create containers for Zookeeper: zookeeper_hosts: {% for server in groups['control_nodes'] %} {{ server }}: - ip: {{ hostvars[server]['ansible_default_ipv4']['address'] }} + ip: {{ hostvars[server]['ansible_facts']['default_ipv4']['address'] }} {% endfor%} .. code-block:: console