Skip to content

jgroom33/vmware_rest_code_generator

 
 

Repository files navigation

Ansible collection code generator

We use this repository to generate the ansible modules.

Requirements

You need the following components on your system:

  • python 3.8.2
  • tox

Usage

To build the modules:

  1. add new swagger file at: src/swagger//
  2. generate modules
    tox -e refresh_modules
  3. Docs generation
    # Generate docs for each module
    find ./plugins/modules/*.py | sed 's/.py//' | sed 's/\.\/plugins\/modules\///' | xargs -I@ bash -c "ansible-doc -t module -M ./plugins/modules @ > docs/@.txt"

The modules will be generated in build subdirectory.

About

Tooling used to generate the vmware_rest modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%