title: Ansible how to assign new value to extra vars value
body: <p>Tower: 3.2.3
  Ansible 2.4.2</p>
  <p>I have a Tower playbook where a value is assigned lets say <strong>build_cl: latest</strong>. This is defined in the Ansible Tower's survey, which I believe is regarded as extra-vars. I have a task that performs a check, and if condition is right I need to modify the value of <strong>build_cl</strong>.</p>
  <p>So lets say when Tower playbook is kicked off the var is:</p>
  <pre><code>build_cl: latest
  </code></pre>
  <p>Then:</p>
  <pre><code>- name: &quot;Get latest installed CL on groups['Healthcheck_Host'][0]&quot;
    shell: |
      grep -oP '(?&lt;=\:)(.*?)(?=\-)' {{ latest_deployed_build_dir.stdout }}/buildinfo.txt
    register: latest_deployed_cl
  
  - debug:
      var: latest_deployed_cl
  
  - set_fact:
      build_cl: &quot;{{ latest_deployed_cl.stdout }}&quot;
      cacheable: yes
  
  - debug:
      var: build_cl
  </code></pre>
  <p>I have tested and the debug for the first task here returns lets say <strong>123456</strong>.</p>
  <p>However I try to use the set_fact module, but the second debug output still gives: <strong>latest</strong>.</p>
  <p>Nothing I try seems to be effecting the original value. Help would be greatly appreciated. Thanks</p>