Skip to content
Snippets Groups Projects
Select Git revision
  • 3b73ad6b270d71a68a88bbb91760558a24fd6153
  • master default protected
  • v1.14.7
  • 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
22 results

ipalocation.py

Blame
    • Thomas Woerner's avatar
      65732f33
      ipalocation: Fix documentation sections and agument spec · 65732f33
      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
      - `type: list` needs to be set for list parameters
      - `elements: str` needs to be given for list of string parameters
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `elements="str"` needs to be added to all list of string parameters
      
      The `copyright` date is extended with `-2022`.
      65732f33
      History
      ipalocation: 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
      - `type: list` needs to be set for list parameters
      - `elements: str` needs to be given for list of string parameters
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `elements="str"` needs to be added to all list of string parameters
      
      The `copyright` date is extended with `-2022`.
    setup.py 350 B
    import setuptools
    
    # In python < 2.7.4, a lazy loading of package `pbr` will break
    # setuptools if some other modules registered functions in `atexit`.
    # solution from: http://bugs.python.org/issue15881#msg170215
    try:
        import multiprocessing  # noqa
    except ImportError:
        pass
    
    setuptools.setup(
        setup_requires=['pbr>=2.0.0'],
        pbr=True)