Skip to content

Instantly share code, notes, and snippets.

@trishnaguha
Last active March 28, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trishnaguha/f7fe2e9e5fac6e2cfe6734d4326ae2a1 to your computer and use it in GitHub Desktop.
Save trishnaguha/f7fe2e9e5fac6e2cfe6734d4326ae2a1 to your computer and use it in GitHub Desktop.
Layout of Resource Module
├── library
│   └── <ansible_network_os>/<ansible_network_os>_<resource>.py
├── module_utils
│   ├── __init__.py
│   └── <ansible_network_os>
│   ├── argspec
│   │   ├── facts
│   │   │   ├── facts.py
│   │   │   └── __init__.py
│   │   ├── __init__.py
│   │   └── <resource>
│   │   ├── __init__.py
│   │   └── <resource>.py
│   ├── config
│   │   ├── base.py
│   │   ├── __init__.py
│   │   └── <resource>
│   │   ├── __init__.py
│   │   └── <resource>.py
│   ├── facts
│   │   ├── base.py
│   │   ├── facts.py
│   │   ├── __init__.py
│   │   └── <resource>
│   │   ├── __init__.py
│   │   ├── <resource>.py
│   ├── __init__.py
│   └── utils
│   ├── __init__.py
│   └── utils.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment