-hosts:localhosttasks:-command:whoamiregister:whoami-assert:that:-whoami is successful-set_fact:me:"{{whoami.stdout}}"-hosts:localhostuser:"{{me}}"tasks:-debug:msg:worked with user ({{ me }})-hosts:localhostremote_user:"{{me}}"tasks:-debug:msg:worked with remote_user ({{ me }})