issue #477: use assert_equal for nicer debug.

issue510
David Wilson 6 years ago
parent 0175052099
commit c61498202e

@ -36,8 +36,9 @@
sudoable: false
register: out
become: true
- assert:
that: out.result == '{{user_facts.ansible_facts.ansible_user_dir}}/foo'
- assert_equal:
left: out.result
right: user_facts.ansible_facts.ansible_user_dir + '/foo'
- name: "Expand ~user/foo"
action_passthrough:
@ -80,8 +81,9 @@
register: out
become: true
- assert:
that: out.result == '{{root_facts.ansible_facts.ansible_user_dir}}/foo'
- assert_equal:
left: out.result
right: root_facts.ansible_facts.ansible_user_dir + '/foo'
- name: "sudoable; Expand ~user/foo"
action_passthrough:

Loading…
Cancel
Save