From 18fb2e5389eae1079a5609037cb69c243904045a Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Wed, 28 Feb 2018 07:39:43 -0800 Subject: ansible: fix urlsplit('hostname') in convert_openrc can't use urlsplit|attr('hostname') since urlsplit is a dict should instead use urlsplit('hostname') Change-Id: I272cac785c2336891b43b81ecf10370af8be228b Signed-off-by: Ross Brattain --- ansible/roles/convert_openrc/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible') diff --git a/ansible/roles/convert_openrc/tasks/main.yml b/ansible/roles/convert_openrc/tasks/main.yml index be621f0af..00aa13615 100644 --- a/ansible/roles/convert_openrc/tasks/main.yml +++ b/ansible/roles/convert_openrc/tasks/main.yml @@ -18,7 +18,7 @@ - debug: var=openrc - set_fact: - yardstick_url_ip: "{{ openrc.OS_AUTH_URL|urlsplit|attr('hostname') }}" + yardstick_url_ip: "{{ openrc.OS_AUTH_URL|urlsplit('hostname') }}" - debug: var=yardstick_url_ip -- cgit 1.2.3-korg