On Fri, 11 Oct 2019 03:36:50 -0700 (PDT) Manish Kumar <[email protected]> wrote:
> - name: System details
> debug: msg="{{ item }}"
> with_items:
> - "{{ ansible_processor }}"
> - "{{ ansible_processor_cores }}"
> register: out
> [...]
> ok: [localhost] => (item=None) => {
>
> "msg": "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz"
>
> }
>
> ok: [localhost] => (item=None) => {
>
> "msg": 1
>
> }
Could you explain the magic of printing "1" when the item is "None" ?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/20191014084607.6475b970%40gmail.com.
pgpngCYHW7yCr.pgp
Description: OpenPGP digital signature
