For example:

- name: Get date
  command curl http://some-url
  register: my_date

- name: Set fact
  my_date_as_fact: my_date

- name: Gather facts
  register: {{ ansible_facts }}

- name: Print facts
  debug: msg={{ ansible_facts }} 

"my_date_as_fact" is not included in the output.

You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Reply via email to