Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
  • v1.8.3
21 results

ipaautomountkey.py

  • Thomas Woerner's avatar
    489eb578
    ipaautomountkey: Fix documentation sections and agument spec · 489eb578
    Thomas Woerner authored
    ansible-test with ansible-2.14 is adding a lot of new tests to ensure
    that the documentation section and the agument spec is complete. Needed
    changes:
    
    DOCUMENTATION section
    - `type: str` needs to be set for string parameters
    - `required` tags need to be fixed according to the `argument_spec`
    - `aliases` tag need to be consistent to `argument_spec`
    - `authors` needs to be given with the github user also: `Name (@user)`
    - `extends_documentation_fragment: ipamodule_base_docs` needs added and
      `ipaadmin_*` parameters need to be removed
    - `choices` needs to be replaced with `aliases` to match `argument_spec`
    
    argument_spec
    - `no_log=False` or `no_log=True` needs to be set for all parameters
      that have `key` in the name or for dicts also in one the key names
    - `required=None` needs to be replaced by `required=False`
    
    The `copyright` date is extended with `-2022`.
    489eb578
    History
    ipaautomountkey: Fix documentation sections and agument spec
    Thomas Woerner authored
    ansible-test with ansible-2.14 is adding a lot of new tests to ensure
    that the documentation section and the agument spec is complete. Needed
    changes:
    
    DOCUMENTATION section
    - `type: str` needs to be set for string parameters
    - `required` tags need to be fixed according to the `argument_spec`
    - `aliases` tag need to be consistent to `argument_spec`
    - `authors` needs to be given with the github user also: `Name (@user)`
    - `extends_documentation_fragment: ipamodule_base_docs` needs added and
      `ipaadmin_*` parameters need to be removed
    - `choices` needs to be replaced with `aliases` to match `argument_spec`
    
    argument_spec
    - `no_log=False` or `no_log=True` needs to be set for all parameters
      that have `key` in the name or for dicts also in one the key names
    - `required=None` needs to be replaced by `required=False`
    
    The `copyright` date is extended with `-2022`.