This Ansible role collects additional from Solaris systems. Especially list of zones and their state. Use it standard way as Ansible roles are included in playbooks. It was developed and used on quite old Solaris 10 u11, thus on Python2.6 and first version possibly ran on Ansible < 1.0.
Get inspired.