# Ansible working on Solaris

**URL:** <https://forum.ansible.com/t/ansible-working-on-solaris/12529>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [March 19, 2013, 4:15am UTC](https://forum.ansible.com/t/ansible-working-on-solaris/12529 "2013-03-19T04:15:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [March 19, 2013, 4:15am UTC](https://forum.ansible.com/t/ansible-working-on-solaris/12529/1 "2013-03-19T04:15:11Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![sjaganathan](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sjaganathan](https://forum.ansible.com/u/sjaganathan)\
**Post date:** [July 17, 2017, 9:39pm UTC](https://forum.ansible.com/t/ansible-working-on-solaris/12529/2 "2017-07-17T21:39:22Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [July 18, 2017, 1:56am UTC](https://forum.ansible.com/t/ansible-working-on-solaris/12529/3 "2017-07-18T01:56:50Z")

</div>

Once installed the online tutorial should be enough, no matter what  
the platform [https://docs.ansible.com/ansible/](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](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](http://docs.ansible.com/ansible/user_module.html)

Hope that helps,
