mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 14:01:42 -07:00
Windows: Add "special" parameter types to docs (#42853)
* Windows: Add special parameter types Adding explicit parameter types now exposes this information in the module documentation, and proves really helpful. We only do this for non-string types as strings, mostly because strings are implicit. PS We also make copyright statements consistent and use #Requires for explicit library imports * Type "string" must be type "str" * A few more Copyright corrections * More fixes * Don't add file encoding to Powershell files * Don't add missing interfacetypes parameter Otherwise CI demands an incorrect version_added * Small fix
This commit is contained in:
parent
290df027e3
commit
95a1170908
127 changed files with 327 additions and 664 deletions
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright: (c) 2015, Adam Keech <akeech@chathamfinancial.com>, Josh Ludwig <jludwig@chathamfinancial.com>
|
||||
# Copyright: (c) 2015, Adam Keech <akeech@chathamfinancial.com>
|
||||
# Copyright: (c) 2015, Josh Ludwig <jludwig@chathamfinancial.com>
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
# this is a windows documentation stub. actual code lives in the .ps1
|
||||
|
@ -79,6 +80,7 @@ options:
|
|||
other hive saved as a file.
|
||||
- Using this function requires the user to have the C(SeRestorePrivilege)
|
||||
and C(SeBackupPrivilege) privileges enabled.
|
||||
type: path
|
||||
version_added: '2.5'
|
||||
notes:
|
||||
- Check-mode C(-C/--check) and diff output C(-D/--diff) are supported, so that you can test every change against the active configuration before
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue