# ansible upgrade from 1.9 to 2.0

**URL:** <https://forum.ansible.com/t/ansible-upgrade-from-1-9-to-2-0/24096>\
**Category:** Ansible Project\
**Created:** [March 29, 2017, 3:08pm UTC](https://forum.ansible.com/t/ansible-upgrade-from-1-9-to-2-0/24096 "2017-03-29T15:08:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tk\_yass](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@tk\_yass](https://forum.ansible.com/u/tk_yass)\
**Post date:** [March 29, 2017, 3:08pm UTC](https://forum.ansible.com/t/ansible-upgrade-from-1-9-to-2-0/24096/1 "2017-03-29T15:08:31Z")

</div>

I’m trying to upgrade from ansible 1.9 to ansible 2.0 and I noticed that this kind of syntax is breaking:

```auto
set other_name = app_account | d().name | d() 

```

but if I change it to `set other_name = ( app_account|d() ).name | d()` it will work so my question is do I have to change `|d().` and surround it with parenthesis with whatever variable before it to make it work?
