mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
adds channel parameter
This commit is contained in:
parent
97b07eebba
commit
b41eb5744e
4 changed files with 43 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.mh.module_helper import StateModuleHelper
|
||||
from ansible_collections.community.general.plugins.module_utils.sdkmanager import sdkmanager_runner, Package, \
|
||||
AndroidSdkManager
|
||||
|
@ -9,7 +13,8 @@ class AndroidSdk(StateModuleHelper):
|
|||
state=dict(type='str', default='present', choices=['present', 'absent', 'latest']),
|
||||
package=dict(type='list', elements='str', aliases=['pkg', 'name']),
|
||||
update=dict(type='bool', default=False),
|
||||
sdk_root=dict(type='path')
|
||||
sdk_root=dict(type='path'),
|
||||
channel=dict(type='str', default='stable', choices=['stable', 'beta', 'dev', 'canary'])
|
||||
),
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue