Ansible-Modul für HSAdmin
Go to file
2016-05-29 11:30:46 +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
CHANGES.txt Initial release. 2016-03-28 19:38:01 +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 Initial release. 2016-03-28 19:38:01 +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()