Ansible-Modul für HSAdmin
Go to file
2016-05-29 13:43:26 +02:00
docs Initial release. 2016-03-28 19:38:01 +02:00
src/hs Achieve Python 2/3 compatibility. 2016-05-29 11:30:46 +02:00
.gitignore Initial release. 2016-03-28 19:38:01 +02:00
BUILD.txt Updated build instructions. 2016-05-29 13:25:57 +02:00
CHANGES.txt Update package version to 0.2. Update changelog. 2016-05-29 11:31:05 +02:00
CONTRIBUTORS.txt Initial release. 2016-03-28 19:38:01 +02:00
README.txt Initial release. 2016-03-28 19:38:01 +02:00
setup.py Fix build generation of long description. 2016-05-29 13:43:26 +02:00

Introduction
============

This package provides a generic interface between Ansible and the Hostsharing HSAdmin API package.

Example
-------

Please note that the ids argument will be removed from the Module class constructor
as soon as this information is provided by the backends theirselves.

In real world uses the argsfile will be populated by Ansible.

>>> from hs.admin.play import Module
>>> 
>>> module = Module(module='emailaddress',
...                 ids=['localpart', 'subdomain', 'domain'],
...                 argsfile='/tmp/argsfile')
>>>
>>> module()