Ansible-Modul für HSAdmin
Go to file
2016-03-28 19:38:01 +02:00
docs Initial release. 2016-03-28 19:38:01 +02:00
src/hs Initial release. 2016-03-28 19:38:01 +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()