Skip to content

Using Ansible

Ansible has two SmartOS specific modules:

To run these you need python 2 in the global zone. This doesn't exist on SmartOS, so an easy way is to use pkgsrc to install it. See the instructions on the "64-bit tools (SmartOS GZ)" tab at for doing this.

Once that is done, you may write plays using the 2 modules. There are examples in the module documentation and on the module author's blog at:

Thanks to Jasper Lievisse Adriaanse for writing and sharing these modules!