For example: - name: Get date command curl http://some-url register: my_date
- name: Set fact set_fact: my_date_as_fact: my_date - name: Gather facts setup: 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/492f1ad9-64f5-4e3e-b63b-ebca21fad90f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.