title: Is it possible to manipulate the date in an Ansible Playbook
body: <p>Am using the <code>ansible_date_time.hour</code> and <code>ansible_date_time.minute</code> in one of my playbooks.</p>
  
  <p>But I need to add time on to these facts (or in a variable).. i.e. if <code>ansible_date_time.hour</code> returns 16 - I want to add a couple of hours, or if <code>ansible_date_time.minute</code> returns 40 - I want it to be 50..</p>
  
  <p>Of course there is a ceiling of 23 and 59 for the hours and mins... as I thought about registering a variable from:</p>
  
  <pre><code>- name: Register HH  
    shell: date '+%H'
    register: HP_HH
  - debug: msg="{{ HP_HH.stdout | int + 3 }}"
  </code></pre>
  
  <p>But obviously if my playbook runs at after 21:00 I am out of luck.</p>
  
  <p>Does anyone have a suggestion or workaround?</p>