community.general/lib/ansible/modules
Jasper Lievisse Adriaanse af1c2aa9b3 New module for managing VMs and zones on SmartOS. (#19951)
* New module for managing VMs and zones on SmartOS.

Currently allows for creating new instances and state changes.
Updating existing VMs is not supported yet

* Fix identation in DOCUMENTATION

* Add RETURN block

* Apply flake8 recommendations and split up main() into separate functions.

* Be more about the states this module accepts and trim the exposed list

* Be more verbose about states and the implications

* Fail with a more descriptive error messages than just 'stderr'

* Valid all UUIDs before exiting

* Incorporate feedback from bcoca

* Print field name that contains invalid uuid, not the value

* More changes as suggested by bcoca:

- drop save_payload completel
- make 'name' the options with an 'alias' alias
- use get_bin_path() for locating 'vmadm'

* Doc fixes

Change-Id: Ia23704c99d24b7782d8884fd22e11af61cef724c

* More fixes suggested by jtyr

Change-Id: Ia3e65277bf5a499651c70b096e2988d7cc9eceb5

* Drop local changed variable

Change-Id: Ia8beaa615ba4a47004d7af791c28a5a5855bcf61

* Use correct ANSIBLE_METADATA format

Change-Id: I51ded34e543005933c7c739501388e24e5f80c1d

* Re-indent RETURN

Change-Id: I0c266d7a83517be54fc6242dfb0496a0a480f628

* Fix documentation formatting for options and fix an unused variable

* Move imports to their original location again

* Fail if there's invalid json returned instead of trying to continue

* Betterer error handling for json.loads()
2017-01-18 12:21:52 -08:00
..
cloud New module for managing VMs and zones on SmartOS. (#19951) 2017-01-18 12:21:52 -08:00
clustering Add pacemaker cluster module for being managable with ansible (#19594) 2017-01-03 15:50:00 +00:00
commands updated docs to suggest quote filter for shells 2017-01-10 16:19:22 -05:00
crypto Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
database Support forced SSL-verified connection with given CA certificate 2017-01-16 12:17:10 -08:00
files minor doc fix 2017-01-17 10:16:32 -05:00
identity minor spelling changes 2016-12-13 13:51:13 -05:00
inventory
messaging Fix code-blocks to use correct syntax highlighting 2017-01-08 09:18:45 -08:00
monitoring icinga2_feature: Set LANG since we rely on the output by using regex (#19742) 2016-12-30 09:06:49 +01:00
network Merge pull request #20393 from rcarrillocruz/fix_ioxr_template_meta 2017-01-18 15:54:25 +01:00
notification Don't escape angle brackets in the Slack module (#19980) 2017-01-17 09:51:38 -05:00
packaging pip: fix example with egg specification (#20371) 2017-01-18 12:40:51 +00:00
remote_management Stacki host module (#19532) 2016-12-22 13:53:05 +00:00
source_control Document git module return values (#19485) 2017-01-08 15:33:51 +00:00
storage Modules for gathering facts about ZFS datasets and pools (#19181) 2017-01-09 07:53:42 +00:00
system Removal wildcard import and unnecessary exception retrieval 2017-01-16 12:12:00 -08:00
utilities Use M() to link to the replacement module. (#19976) 2017-01-06 16:21:39 +00:00
web_infrastructure Update option desc of yum_repository module 2017-01-09 09:55:47 -05:00
windows win_unzip: Fix for working 'creates' (#20352) 2017-01-18 11:51:02 +00:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00