title: Ansible: Concatenate registered variable with string
body: <p>I have this :</p>
  
  <pre><code>  # grab the internal ip [eg 10.5.20.2]
    - name: Grab the internal ip to setup the sec group rule 
      local_action: shell /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 # returns the ip
      register: internal_ip # save the output of the above command in a var
    - debug: var=internal_ip.stdout
  </code></pre>
  
  <p>I want to set this IP in the inbound rule of an AWS security group as single host IP. </p>
  
  <p>Like this: 10.5.20.2/32</p>
  
  <p>How do I concatenate the <code>internal_ip</code> registered var with the string <code>/32</code> ??</p>