Ansible working on Solaris

Ok, so you don't have to change the headers.

In inventory, just set "ansible_python_interpreter" as a variable.

For example, if you had a bunch of solaris hosts:

[sol]
asdf.example.com
foo.example.com
bar.example.com

[sol:vars]
ansible_python_interpreter=/opt/csw/bin/python

And you are good to go!

Hi I am installed CSW ansible on my solaris 11 server.
I need to create users on 50 servers, so I wanted to use Ansible playbook.
can anyone help me with the Syntax… There are not many documents and opencsw talks only about installation.
I have already installed…

Once installed the online tutorial should be enough, no matter what
the platform https://docs.ansible.com/ansible/

There might be some bootsraping issues (mostly ensuring the correct
python is installed), we don't have Solaris specific docs but most of
it could be extrapolated from the BSD ones
http://docs.ansible.com/ansible/intro_bsd.html

As for creating users, we have a 'user' module
http://docs.ansible.com/ansible/user_module.html

Hope that helps,