ansible.builtin.sameas test – Check if an object points to the same memory address than another object.
Note
This test plugin is part of ansible-core and included in all Ansible
installations. In most cases, you can use the short
plugin name
sameas.
However, we recommend you use the Fully Qualified Collection Name (FQCN) ansible.builtin.sameas for easy linking to the
plugin documentation and to avoid conflicting with other collections that may have
the same test plugin name.
Synopsis
Check if an object points to the same memory address than another object.
This is the Jinja builtin test plugin ‘sameas’.
See: https://jinja.palletsprojects.com/en/stable/templates/#jinja-tests.sameas