Ansible task variable output not displaying
<p>Below is my simple playbook</p>

<pre><code>  name: "test"
  hosts: webservers

 tasks:
- name: Echo my_env_var
  shell: "echo $MY_ENV_VARIABLE"
  environment:
    MY_ENV_VARIABLE: whatever_value

- name: Echo my_env_var again
  shell: "echo $MY_ENV_VARIABLE"
  register: stdd
- debug: msg={{stdd.stdout_lines}}
</code></pre>

<p>My output is always msg:"" or msg: []. Why am i not able to see the value of variable</p>