aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-02-28 07:39:43 -0800
committerRoss Brattain <ross.b.brattain@intel.com>2018-02-28 15:53:12 +0000
commit18fb2e5389eae1079a5609037cb69c243904045a (patch)
tree88140477dcd03fe5e0f5b7a2614a352038b7617c /ansible/roles
parente670c9c6e165ee508bd509a3cd71f80c45d6d919 (diff)
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 <ross.b.brattain@intel.com>
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/convert_openrc/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
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