Commit graph

27 commits

Author SHA1 Message Date
Robin Schneider
67a1bebbd3 Use addresses and names reserved for documentation (#2894)
Trying to preserve the meaning of the examples.

Related to: https://github.com/ansible/ansible/issues/17479
2016-09-12 11:27:45 +02:00
Michael Grandjean
f38fbaefc6 Fix typo in EXAMPLE section (#2833) 2016-09-01 16:47:38 -04:00
Tobias Rueetschi
ec2cc904e2 udm_user: change overridePWHistory and overridePWLength to snake_case 2016-08-31 14:42:11 +02:00
Tobias Rueetschi
81c2fb46f1 univention udm_user: override password history. 2016-08-31 14:41:07 +02:00
René Moser
48eba12d23 Merge pull request #2822 from adfinis-forks/fix_udm_user
univention udm_user: pep8
2016-08-31 14:29:34 +02:00
John R Barker
bd2d487c6a Feature udm share (#2439)
Add univention/udm_share.py

* UCS udm_share: fix creating of new shares

* univention udm_share: adapt to library univention_umc

* univention udm_share: fix shebang

* univention udm_share: add required_if to the API

* univention udm_share: add license information

* univention udm_share: import only AnsibleModule from ansible.module_utils.basic

* univention udm_share: add documenation

* univention udm_share: reorder documentation parameters

* univention udm_share: change some parameters to type bool

* univention udm_share: add example

* univention udm_share: pep8

* univention udm_share: change documentation, use camel_case for parameters, old parameter names as alias

* univention udm_share: add aliases as documented
2016-08-31 10:53:02 +01:00
Tobias Rueetschi
a370a8c8f6 udm_user: change code to fit documentation with snake_case instead of camelCase 2016-08-31 11:30:45 +02:00
Tobias Rueetschi
caba5d1715 udm_user: change camelCase to snake_case in documentation 2016-08-31 11:20:52 +02:00
Tobias Rueetschi
d179938952 univention udm_user: pep8 2016-08-31 10:25:01 +02:00
Tobias Rüetschi
a39da41bb2 Feature udm dns zone (#2382)
* UCS udm_dns_zone: added

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns_zone: updated, add supports check mode

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns_zone: updated, add support to modify dns zones

* UCS udm_dns_zone: change string formating

* UCS udm_dns_zone: add a function to convert the time to the biggest unit

* UCS udm_dns_zone: add type definitions to the argument specification

* UCS udm_dns_zone: update function convert_time

* UCS udm_dns_zone: only modify object if it has changed

* UCS udm_dns_zone: add documentation

* UCS udm_dns_zone: fix checks

* UCS udm_dns_zone: if dns zone not exists, changed is always true

* UCS udm_dns_zone: documentation, add version_added

* UCS udm_dns_zone: add license and fix travis for python 3

* UCS udm_dns_zone: import common code for univention from ansible.module_utils.univention

* univention udm_dns_zone: adapt to library univention_umc

* univention udm_dns_zone: lint

* univention udm_dns_zone: add requirement python >= 2.6 to documentation

* univention udm_dns_zone: dont import time, its unused
2016-08-30 19:47:30 +01:00
Tobias Rüetschi
fc18b967f2 Feature udm group (#2396)
* UCS udm_group: added

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_group: updated

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_group: add key description

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* python styling

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_group: updated, add supports check mode

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_group: updated, add support to modify groups

* UCS udm_group: change string formating

* UCS udm_group: add type definitions to the argument specification

* UCS udm_group: import common code for univention from ansible.module_utils.univention

* univention udm_group: add documentation

* UCS udm_group: add requirement python >= 2.6

* univention udm_group: add more examples
2016-08-30 19:38:16 +01:00
Tobias Rüetschi
cd446baf39 Feature udm dns record (#2394)
* UCS udm_dns: added

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns_record: fix multiple entries in different zones

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns -> udm_dns_record: renamed

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns_record: updated, add supports check mode

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns_record: updated, add support to modify dns records

* UCS udm_dns_record: change string formating

* UCS udm_dns_record: add type definitions to the argument specification

* UCS udm_dns_record: import common code for univention from ansible.module_utils.univention_umc

* UCS udm_dns_record: add documentation

* UCS udm_dns_record: update documenation

* univention udm_dns_record: pylint

* univention udm_dns_record: fix reverse zone entries
2016-08-30 19:34:11 +01:00
Tobias Rueetschi
deb5975a8a univention udm_share: add aliases as documented 2016-08-30 19:12:24 +02:00
Tobias Rueetschi
44e5f4bb17 univention udm_share: change documentation, use camel_case for parameters, old parameter names as alias 2016-08-30 19:04:42 +02:00
Tobias Rueetschi
8f48370dac univention udm_share: pep8 2016-08-30 18:04:41 +02:00
Tobias Rueetschi
644b3efd87 univention udm_share: add example 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
ac5182db2d univention udm_share: change some parameters to type bool 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
838cbd19c1 univention udm_share: reorder documentation parameters 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
7b80df0a0d univention udm_share: add documenation 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
533f056a2a univention udm_share: import only AnsibleModule from ansible.module_utils.basic 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
3f3a193e35 univention udm_share: add license information 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
529eed2fe0 univention udm_share: add required_if to the API 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
f4f218005a univention udm_share: fix shebang 2016-08-29 09:11:56 +02:00
Tobias Rueetschi
3c4ec8ac43 univention udm_share: adapt to library univention_umc 2016-08-29 09:11:56 +02:00
Tobias Rüetschi
a888172173 UCS udm_share: fix creating of new shares 2016-08-29 09:11:56 +02:00
Tobias Rüetschi
6521ad31b1 UCS udm_share: added 2016-08-29 09:11:56 +02:00
Tobias Rüetschi
825a224d38 Feature udm user (#2406)
* Creating directory univention

* UCS udm_user: added

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_user: updating, added support to modify user groups

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_user: add key homedrive

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_user: add key userexpiry

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* python styling

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_user: updated, add supports check mode

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_user: updated, add support to modify users

* UCS udm_user: change string formating

* UCS udm_user: add type definitions to the argument specification

* UCS udm_user: only modify object if it has changed

* UCS udm_user: if user not exists, changed is always true

* UCS udm_user: import common code for univention from ansible.module_utils.univention_umc

* UCS udm_user: add a lot more attributes

* UCS udm_user: add license information

* UCS udm_user: fix API serviceprovider and unixhome

* UCS udm_user: add documentation

* univention udm_user: import only AnsibleModule from ansible.module_utils.basic

* univention udm_user: reorder documentation options

* univention udm_user: fix documentation

* univention udm_user: dont log password

* univention udm_user: add more examples
2016-08-27 00:07:32 +01:00