mirror of
				https://github.com/ansible-collections/community.general.git
				synced 2025-10-26 05:50:36 -07:00 
			
		
		
		
	* Windows: Add missing parameter types and doc fixes This PR includes: - Adding missing parameter types - Various documentation fixes * Update lib/ansible/modules/windows/win_copy.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_credential.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_domain_computer.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_domain_user.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_environment.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_psexec.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_uri.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_wait_for.py Co-Authored-By: dagwieers <dag@wieers.com> * Ensure docstrings are raw strings
		
			
				
	
	
		
			63 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/python
 | |
| # -*- coding: utf-8 -*-
 | |
| 
 | |
| # Copyright: (c) 2017, Ansible Project
 | |
| # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
 | |
| 
 | |
| ANSIBLE_METADATA = {'metadata_version': '1.1',
 | |
|                     'status': ['preview'],
 | |
|                     'supported_by': 'community'}
 | |
| 
 | |
| DOCUMENTATION = r'''
 | |
| ---
 | |
| module: win_rabbitmq_plugin
 | |
| short_description: Manage RabbitMQ plugins
 | |
| description:
 | |
|   - Manage RabbitMQ plugins.
 | |
| version_added: "2.4"
 | |
| options:
 | |
|   names:
 | |
|     description:
 | |
|       - Comma-separated list of plugin names.
 | |
|     type: str
 | |
|     required: yes
 | |
|     aliases: [ name ]
 | |
|   new_only:
 | |
|     description:
 | |
|       - Only enable missing plugins.
 | |
|       - Does not disable plugins that are not in the names list.
 | |
|     type: bool
 | |
|     default: no
 | |
|   state:
 | |
|     description:
 | |
|       - Specify if plugins are to be enabled or disabled.
 | |
|     type: str
 | |
|     choices: [ disabled, enabled ]
 | |
|     default: enabled
 | |
|   prefix:
 | |
|     description:
 | |
|       - Specify a custom install prefix to a Rabbit.
 | |
|     type: str
 | |
| author:
 | |
|   - Artem Zinenko (@ar7z1)
 | |
| '''
 | |
| 
 | |
| EXAMPLES = r'''
 | |
| - name: Enables the rabbitmq_management plugin
 | |
|   win_rabbitmq_plugin:
 | |
|     names: rabbitmq_management
 | |
|     state: enabled
 | |
| '''
 | |
| 
 | |
| RETURN = r'''
 | |
| enabled:
 | |
|   description: List of plugins enabled during task run.
 | |
|   returned: always
 | |
|   type: list
 | |
|   sample: ["rabbitmq_management"]
 | |
| disabled:
 | |
|   description: List of plugins disabled during task run.
 | |
|   returned: always
 | |
|   type: list
 | |
|   sample: ["rabbitmq_management"]
 | |
| '''
 |