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

ansible-doc-test

  • Thomas Woerner's avatar
    6fb49102
    New script utils/ansible-doc-test · 6fb49102
    Thomas Woerner authored
    This script can check modules in roles and also plugins folder to have
    a valid documentation section. It is using anisble-doc internally.
    
        usage: Usage: ansible-doc-test [options] [path]
    
        optional arguments:
          -h, --help  show this help message and exit
          -v          increase output verbosity
    
    There are different verbose levels:
    
        -v   Shows the modules that are tested at the moment.
        -vv  Shows the modules and also the doc output.
    
    You can use the script to check specific modules, roles or modules in roles.
    Here are some examples:
    
    Test specific module with verbose level 1:
        $ utils/ansible-doc-test -vv plugins/modules/ipauser.py
    
    Test all modules in plugins folder:
        $ utils/ansible-doc-test -v plugins
    
    Test ipaserver_prepare.py in ipaserver role:
        $ utils/ansible-doc-test -v roles/ipaserver/library/ipaserver_prepare.py
    
    Test all modules in ipaserver role:
        $ utils/ansible-doc-test -v roles/ipaserver
    
    Test all roles:
        $ utils/ansible-doc-test -v roles
    
    Test all roles and modules in plugins:
        $ utils/ansible-doc-test -v
    6fb49102
    History
    New script utils/ansible-doc-test
    Thomas Woerner authored
    This script can check modules in roles and also plugins folder to have
    a valid documentation section. It is using anisble-doc internally.
    
        usage: Usage: ansible-doc-test [options] [path]
    
        optional arguments:
          -h, --help  show this help message and exit
          -v          increase output verbosity
    
    There are different verbose levels:
    
        -v   Shows the modules that are tested at the moment.
        -vv  Shows the modules and also the doc output.
    
    You can use the script to check specific modules, roles or modules in roles.
    Here are some examples:
    
    Test specific module with verbose level 1:
        $ utils/ansible-doc-test -vv plugins/modules/ipauser.py
    
    Test all modules in plugins folder:
        $ utils/ansible-doc-test -v plugins
    
    Test ipaserver_prepare.py in ipaserver role:
        $ utils/ansible-doc-test -v roles/ipaserver/library/ipaserver_prepare.py
    
    Test all modules in ipaserver role:
        $ utils/ansible-doc-test -v roles/ipaserver
    
    Test all roles:
        $ utils/ansible-doc-test -v roles
    
    Test all roles and modules in plugins:
        $ utils/ansible-doc-test -v