diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2018-02-28 07:39:43 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2018-02-28 15:53:12 +0000 |
commit | 18fb2e5389eae1079a5609037cb69c243904045a (patch) | |
tree | 88140477dcd03fe5e0f5b7a2614a352038b7617c | |
parent | e670c9c6e165ee508bd509a3cd71f80c45d6d919 (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>
-rw-r--r-- | ansible/roles/convert_openrc/tasks/main.yml | 2 |
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 |