mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-10 03:01:29 -07:00
Add a new check to ensure that module arguments are valid python identifiers (#53278)
* Add a new check to ensure that module arguments are valid python identifiers * Move the check up higher, out of the if docs block * Skip validate-modules on py2 * Remove errant alias
This commit is contained in:
parent
04c6f94269
commit
a639dc6d88
5 changed files with 40 additions and 4 deletions
|
@ -64,7 +64,6 @@ options:
|
|||
type: path
|
||||
default: ~/.docker/config.json
|
||||
aliases:
|
||||
- self.config_path
|
||||
- dockercfg_path
|
||||
state:
|
||||
version_added: '2.3'
|
||||
|
@ -299,7 +298,7 @@ def main():
|
|||
email=dict(type='str'),
|
||||
reauthorize=dict(type='bool', default=False, aliases=['reauth']),
|
||||
state=dict(type='str', default='present', choices=['present', 'absent']),
|
||||
config_path=dict(type='path', default='~/.docker/config.json', aliases=['self.config_path', 'dockercfg_path']),
|
||||
config_path=dict(type='path', default='~/.docker/config.json', aliases=['dockercfg_path']),
|
||||
)
|
||||
|
||||
required_if = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue