├── .ansible-lint ├── .github ├── CODEOWNERS └── workflows │ └── build.yml ├── .gitignore ├── .yamllint ├── LICENSE ├── README.md ├── defaults └── main.yml ├── handlers └── main.yml ├── meta └── main.yml ├── poetry.lock ├── pyproject.toml ├── renovate.json ├── tasks ├── ca.yml ├── determine_ca.yml ├── determine_real_ip.yml ├── download.yml ├── main.yml ├── member.yml └── member_preflight.yml ├── templates ├── config.yml.j2 └── nebula.service.j2 └── tests ├── ansible.cfg ├── inventories ├── cloud │ ├── .gitignore │ └── host_vars │ │ ├── ansible-role-nebula-1.yml │ │ ├── ansible-role-nebula-2.yml │ │ ├── ansible-role-nebula-3.yml │ │ ├── ansible-role-nebula-4.yml │ │ └── ansible-role-nebula-5.yml └── local │ ├── host_vars │ └── local.yml │ └── hosts ├── terraform ├── .gitignore ├── .terraform.lock.hcl ├── ansible_inventory.tpl ├── main.tf └── variables.tf └── test.yml /.ansible-lint: -------------------------------------------------------------------------------- 1 | --- 2 | enable_list: 3 | - fqcn-builtins 4 | - no-same-owner 5 | - yaml 6 | 7 | exclude_paths: 8 | - ~/.deps/ 9 | - ~/.cache/ 10 | - ./.cache/ 11 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @utkuozdemir 2 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Build 3 | on: 4 | push: 5 | tags: 6 | - "v*.*.*" 7 | branches: 8 | - master 9 | - renovate/** 10 | paths-ignore: 11 | - "**.md" 12 | - "test/**" 13 | - ".gitignore" 14 | pull_request: 15 | branches: 16 | - master 17 | paths-ignore: 18 | - "**.md" 19 | - "test/**" 20 | - ".gitignore" 21 | 22 | concurrency: 23 | group: build 24 | 25 | env: 26 | GOOGLE_APPLICATION_CREDENTIALS: /tmp/.gcp-serviceaccount.json 27 | 28 | jobs: 29 | build: 30 | name: Build 31 | runs-on: ubuntu-20.04 32 | steps: 33 | - name: Checkout code 34 | uses: actions/checkout@v3.1.0 35 | 36 | - name: Setup Python 37 | uses: actions/setup-python@v4.3.0 38 | with: 39 | python-version: "3.10" 40 | 41 | - name: Install Poetry 42 | uses: snok/install-poetry@v1.3.3 43 | with: 44 | virtualenvs-create: true 45 | virtualenvs-in-project: true 46 | 47 | - name: Load cached Poetry virtual env 48 | uses: actions/cache@v3.0.11 49 | with: 50 | path: .venv 51 | key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} 52 | 53 | - name: Install poetry dependencies 54 | run: poetry install 55 | 56 | - name: Lint Ansible sources 57 | run: poetry run ansible-lint 58 | 59 | - name: Install terraform 60 | uses: hashicorp/setup-terraform@v2.0.3 61 | with: 62 | # renovate: depName=hashicorp/terraform 63 | terraform_version: v1.3.5 64 | 65 | - name: Lint terraform sources 66 | run: terraform fmt -recursive --check 67 | 68 | - name: Run tests in local 69 | working-directory: tests/ 70 | env: 71 | ANSIBLE_FORCE_COLOR: "True" 72 | run: poetry run ansible-playbook -i inventories/local test.yml 73 | 74 | - name: Re-run tests in local to check idempotency 75 | id: rerun_test 76 | working-directory: tests/ 77 | env: 78 | # disable color so grep will give correct results (no color control sequences) 79 | ANSIBLE_NOCOLOR: "True" 80 | run: | 81 | poetry run ansible-playbook -i inventories/local test.yml |& tee output.txt 82 | grep -w "changed=[1-9]" output.txt && echo "Idempotency check failed!" && exit 1 83 | echo "Idempotency check passed..." 84 | 85 | - name: Prepare secrets 86 | run: | 87 | # use single quotes here because the secret content is JSON 88 | echo '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}' > $GOOGLE_APPLICATION_CREDENTIALS 89 | 90 | mkdir -p ~/.ssh/ 91 | echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_ed25519 92 | chmod 600 ~/.ssh/id_ed25519 93 | 94 | - name: Create terraform resources for test 95 | working-directory: tests/terraform/ 96 | run: terraform init && terraform apply -auto-approve 97 | 98 | - name: Run tests in VMs 99 | working-directory: tests/ 100 | env: 101 | ANSIBLE_FORCE_COLOR: "True" 102 | run: poetry run ansible-playbook -i inventories/cloud test.yml 103 | 104 | - name: Create a release 105 | uses: softprops/action-gh-release@v0.1.15 106 | if: startsWith(github.ref, 'refs/tags/') 107 | env: 108 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 109 | 110 | - name: Delete terraform resources 111 | working-directory: tests/terraform/ 112 | if: ${{ always() }} 113 | run: terraform destroy -auto-approve 114 | 115 | - name: Delete secrets 116 | if: ${{ always() }} 117 | run: | 118 | rm -rf $GOOGLE_APPLICATION_CREDENTIALS 119 | rm -rf ~/.ssh/id_ed25519 120 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.toptal.com/developers/gitignore/api/macos,python,ansible,terraform,jetbrains+all 2 | # Edit at https://www.toptal.com/developers/gitignore?templates=macos,python,ansible,terraform,jetbrains+all 3 | 4 | ### Ansible ### 5 | *.retry 6 | 7 | ### JetBrains+all ### 8 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider 9 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 10 | 11 | # User-specific stuff 12 | .idea/**/workspace.xml 13 | .idea/**/tasks.xml 14 | .idea/**/usage.statistics.xml 15 | .idea/**/dictionaries 16 | .idea/**/shelf 17 | 18 | # AWS User-specific 19 | .idea/**/aws.xml 20 | 21 | # Generated files 22 | .idea/**/contentModel.xml 23 | 24 | # Sensitive or high-churn files 25 | .idea/**/dataSources/ 26 | .idea/**/dataSources.ids 27 | .idea/**/dataSources.local.xml 28 | .idea/**/sqlDataSources.xml 29 | .idea/**/dynamic.xml 30 | .idea/**/uiDesigner.xml 31 | .idea/**/dbnavigator.xml 32 | 33 | # Gradle 34 | .idea/**/gradle.xml 35 | .idea/**/libraries 36 | 37 | # Gradle and Maven with auto-import 38 | # When using Gradle or Maven with auto-import, you should exclude module files, 39 | # since they will be recreated, and may cause churn. Uncomment if using 40 | # auto-import. 41 | # .idea/artifacts 42 | # .idea/compiler.xml 43 | # .idea/jarRepositories.xml 44 | # .idea/modules.xml 45 | # .idea/*.iml 46 | # .idea/modules 47 | # *.iml 48 | # *.ipr 49 | 50 | # CMake 51 | cmake-build-*/ 52 | 53 | # Mongo Explorer plugin 54 | .idea/**/mongoSettings.xml 55 | 56 | # File-based project format 57 | *.iws 58 | 59 | # IntelliJ 60 | out/ 61 | 62 | # mpeltonen/sbt-idea plugin 63 | .idea_modules/ 64 | 65 | # JIRA plugin 66 | atlassian-ide-plugin.xml 67 | 68 | # Cursive Clojure plugin 69 | .idea/replstate.xml 70 | 71 | # Crashlytics plugin (for Android Studio and IntelliJ) 72 | com_crashlytics_export_strings.xml 73 | crashlytics.properties 74 | crashlytics-build.properties 75 | fabric.properties 76 | 77 | # Editor-based Rest Client 78 | .idea/httpRequests 79 | 80 | # Android studio 3.1+ serialized cache file 81 | .idea/caches/build_file_checksums.ser 82 | 83 | ### JetBrains+all Patch ### 84 | # Ignores the whole .idea folder and all .iml files 85 | # See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360 86 | 87 | .idea/ 88 | 89 | # Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 90 | 91 | *.iml 92 | modules.xml 93 | .idea/misc.xml 94 | *.ipr 95 | 96 | # Sonarlint plugin 97 | .idea/sonarlint 98 | 99 | ### macOS ### 100 | # General 101 | .DS_Store 102 | .AppleDouble 103 | .LSOverride 104 | 105 | # Icon must end with two \r 106 | Icon 107 | 108 | 109 | # Thumbnails 110 | ._* 111 | 112 | # Files that might appear in the root of a volume 113 | .DocumentRevisions-V100 114 | .fseventsd 115 | .Spotlight-V100 116 | .TemporaryItems 117 | .Trashes 118 | .VolumeIcon.icns 119 | .com.apple.timemachine.donotpresent 120 | 121 | # Directories potentially created on remote AFP share 122 | .AppleDB 123 | .AppleDesktop 124 | Network Trash Folder 125 | Temporary Items 126 | .apdisk 127 | 128 | ### Python ### 129 | # Byte-compiled / optimized / DLL files 130 | __pycache__/ 131 | *.py[cod] 132 | *$py.class 133 | 134 | # C extensions 135 | *.so 136 | 137 | # Distribution / packaging 138 | .Python 139 | build/ 140 | develop-eggs/ 141 | dist/ 142 | downloads/ 143 | eggs/ 144 | .eggs/ 145 | lib/ 146 | lib64/ 147 | parts/ 148 | sdist/ 149 | var/ 150 | wheels/ 151 | share/python-wheels/ 152 | *.egg-info/ 153 | .installed.cfg 154 | *.egg 155 | MANIFEST 156 | 157 | # PyInstaller 158 | # Usually these files are written by a python script from a template 159 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 160 | *.manifest 161 | *.spec 162 | 163 | # Installer logs 164 | pip-log.txt 165 | pip-delete-this-directory.txt 166 | 167 | # Unit test / coverage reports 168 | htmlcov/ 169 | .tox/ 170 | .nox/ 171 | .coverage 172 | .coverage.* 173 | .cache 174 | nosetests.xml 175 | coverage.xml 176 | *.cover 177 | *.py,cover 178 | .hypothesis/ 179 | .pytest_cache/ 180 | cover/ 181 | 182 | # Translations 183 | *.mo 184 | *.pot 185 | 186 | # Django stuff: 187 | *.log 188 | local_settings.py 189 | db.sqlite3 190 | db.sqlite3-journal 191 | 192 | # Flask stuff: 193 | instance/ 194 | .webassets-cache 195 | 196 | # Scrapy stuff: 197 | .scrapy 198 | 199 | # Sphinx documentation 200 | docs/_build/ 201 | 202 | # PyBuilder 203 | .pybuilder/ 204 | target/ 205 | 206 | # Jupyter Notebook 207 | .ipynb_checkpoints 208 | 209 | # IPython 210 | profile_default/ 211 | ipython_config.py 212 | 213 | # pyenv 214 | # For a library or package, you might want to ignore these files since the code is 215 | # intended to run in multiple environments; otherwise, check them in: 216 | # .python-version 217 | 218 | # pipenv 219 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 220 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 221 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 222 | # install all needed dependencies. 223 | #Pipfile.lock 224 | 225 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 226 | __pypackages__/ 227 | 228 | # Celery stuff 229 | celerybeat-schedule 230 | celerybeat.pid 231 | 232 | # SageMath parsed files 233 | *.sage.py 234 | 235 | # Environments 236 | .env 237 | .venv 238 | env/ 239 | venv/ 240 | ENV/ 241 | env.bak/ 242 | venv.bak/ 243 | 244 | # Spyder project settings 245 | .spyderproject 246 | .spyproject 247 | 248 | # Rope project settings 249 | .ropeproject 250 | 251 | # mkdocs documentation 252 | /site 253 | 254 | # mypy 255 | .mypy_cache/ 256 | .dmypy.json 257 | dmypy.json 258 | 259 | # Pyre type checker 260 | .pyre/ 261 | 262 | # pytype static type analyzer 263 | .pytype/ 264 | 265 | # Cython debug symbols 266 | cython_debug/ 267 | 268 | ### Terraform ### 269 | # Local .terraform directories 270 | **/.terraform/* 271 | 272 | # .tfstate files 273 | *.tfstate 274 | *.tfstate.* 275 | 276 | # Crash log files 277 | crash.log 278 | 279 | # Exclude all .tfvars files, which are likely to contain sentitive data, such as 280 | # password, private keys, and other secrets. These should not be part of version 281 | # control as they are data points which are potentially sensitive and subject 282 | # to change depending on the environment. 283 | # 284 | *.tfvars 285 | 286 | # Ignore override files as they are usually used to override resources locally and so 287 | # are not checked in 288 | override.tf 289 | override.tf.json 290 | *_override.tf 291 | *_override.tf.json 292 | 293 | # Include override files you do wish to add to version control using negated pattern 294 | # !example_override.tf 295 | 296 | # Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan 297 | # example: *tfplan* 298 | 299 | # Ignore CLI configuration files 300 | .terraformrc 301 | terraform.rc 302 | 303 | # End of https://www.toptal.com/developers/gitignore/api/macos,python,ansible,terraform,jetbrains+all 304 | -------------------------------------------------------------------------------- /.yamllint: -------------------------------------------------------------------------------- 1 | --- 2 | extends: default 3 | 4 | rules: 5 | braces: 6 | forbid: non-empty 7 | brackets: 8 | forbid: non-empty 9 | line-length: 10 | max: 160 11 | comments: disable 12 | comments-indentation: disable 13 | truthy: 14 | check-keys: false 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2021 Utku Ozdemir 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Ansible Role: nebula 2 | ========= 3 | 4 | Ansible role to install [Nebula](https://github.com/slackhq/nebula) Mesh. 5 | 6 | Requirements 7 | ------------ 8 | 9 | The requirements are: 10 | - Ansible version >=2.10 11 | - Linux 12 | - Systemd as init system 13 | 14 | This role is tested on: 15 | - Ubuntu 20.04 Focal Fossa 16 | - Python 3.10 17 | - Ansible 2.10 18 | 19 | Role Variables 20 | -------------- 21 | 22 | The following variables are available: 23 | 24 | | Variable | Default Value | Description | 25 | |-----------------------------------------------|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 26 | | `nebula_am_lighthouse` | `false` | If member is a lighthouse | 27 | | `nebula_arch` | `amd64` | Architecture to use to build the download URL | 28 | | `nebula_bin_dir` | `/usr/local/bin` | The directory to install the binaries | 29 | | `nebula_ca_duration` | `175200h` (20 years) | The duration of CA | 30 | | `nebula_ca_host` | `` | The inventory_hostname of the host which should be used as CA. If not defined, **exactly 1 play host must have `nebula_is_ca` variable set to true. Required to be set if `nebula_am_lighthouse`** | 31 | | `nebula_ca_name` | `Nebula CA Org` | The name of the CA | 32 | | `nebula_ca_wait_timeout_secs` | `120` | Timeout in seconds for members to wait until the CA is ready to issue certificates | 33 | | `nebula_config_dir` | `/etc/nebula` | Directory to keep config and certificates | 34 | | `nebula_download_checksum` | `` | If provided, the checksum will be tested before downloading Nebula from the URL | 35 | | `nebula_download_dir` | `/opt` | The directory to download the tarball | 36 | | `nebula_download_url` | see [defaults/main.yml](defaults/main.yml) | The Nebula download URL | 37 | | `nebula_groups` | `[]` | Nebula groups of the member | 38 | | `nebula_ip` | `` | The IP required by Nebula. **Needs to contain subnet prefix at the end (e.g. `172.20.0.42/24`). Required**. | 39 | | `nebula_is_ca` | `false` | If the host is the certificate authority or not. If `nebula_ca_host` is not defined, **exactly 1 play host must have this variable set to true. Required to be set if `nebula_am_lighthouse`** | 40 | | `nebula_is_member` | `true` | If the host should be added to the mesh | 41 | | `nebula_name` | `"{{ ansible_facts.hostname }}"` | Name of the Nebula member | 42 | | `nebula_routable_ip` | `` | The routable IP required by Nebula. If undefined, the public IP of the host will be determined and used | 43 | | `nebula_service_name` | `nebula` | Name of the systemd service | 44 | | `nebula_version` | see [defaults/main.yml](defaults/main.yml) | Nebula version to use. See git tags [here](https://github.com/slackhq/nebula/releases) | | 45 | | `nebula_additional_member_certs_download_dir` | `/tmp` | Local directory to download any additional member certificates | 46 | | `nebula_cert_private_key` | `` | Nebula member private key to use. If defined, no private key will be generated on CA but this one will be used. **Must be defined together with `nebula_cert_public_key`** | 47 | | `nebula_cert_public_key` | `` | Nebula member public key to use. If defined, no public key will be generated on CA but this one will be siged and used. **Must be defined together with `nebula_cert_private_key`** | 48 | | `nebula_additional_member_certs` | see [defaults/main.yml](defaults/main.yml) | Dict object of additional member certs with each key being the member name and value being the member configuration. Only used to generate additional certificates on CA. Can be useful to issue certificates to devices that are not managed by Ansible (e.g. Windows or mobile devices) | 49 | | `nebula_pki_disconnect_invalid` | `` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 50 | | `nebula_lighthouse_interval` | `60` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 51 | | `nebula_listen_host` | `0.0.0.0` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 52 | | `nebula_listen_port` | `4242` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 53 | | `nebula_listen_batch` | `` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 54 | | `nebula_listen_read_buffer` | `` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 55 | | `nebula_listen_write_buffer` | `` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 56 | | `nebula_punchy_punch` | `true` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 57 | | `nebula_punchy_respond` | `` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 58 | | `nebula_punchy_delay` | `` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 59 | | `nebula_cipher` | `` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 60 | | `nebula_tun_disabled` | `false` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 61 | | `nebula_tun_dev` | `nebula1` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 62 | | `nebula_tun_drop_local_broadcast` | `false` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 63 | | `nebula_tun_drop_multicast` | `false` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 64 | | `nebula_tun_tx_queue` | `500` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 65 | | `nebula_tun_mtu` | `1300` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 66 | | `nebula_logging_level` | `info` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 67 | | `nebula_logging_format` | `text` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 68 | | `nebula_logging_disable_timestamp` | `false` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 69 | | `nebula_firewall_conntrack_tcp_timeout` | `12m` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 70 | | `nebula_firewall_conntrack_udp_timeout` | `3m` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 71 | | `nebula_firewall_conntrack_default_timeout` | `10m` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 72 | | `nebula_firewall_conntrack_max_connections` | `100000` | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 73 | | `nebula_firewall_outbound` | see [defaults/main.yml](defaults/main.yml) | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 74 | | `nebula_firewall_inbound` | see [defaults/main.yml](defaults/main.yml) | See Nebula [configuration reference](https://www.defined.net/nebula/config/) and [example config](https://github.com/slackhq/nebula/blob/master/examples/config.yml) | 75 | 76 | Example Playbook 77 | ---------------- 78 | 79 | Here's a minimalistic example: 80 | 81 | ```yaml 82 | - name: Setup Nebula 83 | hosts: servers 84 | become: true 85 | strategy: free 86 | roles: 87 | - role: utkuozdemir.nebula 88 | ``` 89 | 90 | See [tests/](tests) directory for a concrete example. 91 | -------------------------------------------------------------------------------- /defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # renovate: depName=slackhq/nebula 3 | nebula_version: v1.6.1 4 | nebula_arch: amd64 5 | nebula_download_url: https://github.com/slackhq/nebula/releases/download/{{ nebula_version }}/nebula-linux-{{ nebula_arch }}.tar.gz 6 | #nebula_download_checksum: null 7 | 8 | nebula_download_dir: /opt 9 | nebula_bin_dir: /usr/local/bin 10 | nebula_config_dir: /etc/nebula 11 | 12 | nebula_is_ca: false 13 | nebula_is_member: true 14 | #nebula_ca_host: null 15 | 16 | nebula_ca_wait_timeout_secs: 120 17 | 18 | nebula_ca_name: Nebula CA Org 19 | 20 | # Use 20 years instead of default of 8760h (1 year) 21 | nebula_ca_duration: 175200h 22 | 23 | nebula_service_name: nebula 24 | 25 | #nebula_routable_ip: null 26 | #nebula_ip: null 27 | nebula_name: "{{ ansible_facts.hostname }}" 28 | nebula_groups: [] 29 | 30 | #nebula_cert_private_key: | 31 | # -----BEGIN NEBULA X25519 PRIVATE KEY----- 32 | # aJH4X+9oP4VJ...EXAMPLE...9nr4h6nd1gE0= 33 | # -----END NEBULA X25519 PRIVATE KEY----- 34 | 35 | #nebula_cert_public_key: | 36 | # -----BEGIN NEBULA X25519 PUBLIC KEY----- 37 | # iYH/ccc9a...EXAMPLE...h8gkfssUo= 38 | # -----END NEBULA X25519 PUBLIC KEY----- 39 | 40 | nebula_additional_member_certs_download_dir: /tmp 41 | 42 | # If a public key is provided on an additional member, 43 | # it will be signed and no private key will be generated for that member 44 | nebula_additional_member_certs: {} 45 | #additional-client-1: 46 | # ip: 172.20.0.51/24 47 | # groups: 48 | # - group-1 49 | # - group-2 50 | #additional-client-2: 51 | # ip: 172.20.0.52/24 52 | # groups: [] 53 | # public_key: | 54 | # -----BEGIN NEBULA X25519 PUBLIC KEY----- 55 | # iYH/ccc9a...EXAMPLE...h8gkfssUo= 56 | # -----END NEBULA X25519 PUBLIC KEY----- 57 | 58 | #nebula_pki_disconnect_invalid: false 59 | 60 | nebula_am_lighthouse: false 61 | nebula_lighthouse_interval: 60 62 | 63 | nebula_listen_host: 0.0.0.0 64 | nebula_listen_port: 4242 65 | #nebula_listen_batch: 64 66 | #nebula_listen_read_buffer: 10485760 67 | #nebula_listen_write_buffer: 10485760 68 | 69 | nebula_punchy_punch: true 70 | #nebula_punchy_respond: true 71 | #nebula_punchy_delay: 1s 72 | 73 | #nebula_cipher: aes 74 | 75 | nebula_tun_disabled: false 76 | nebula_tun_dev: nebula1 77 | nebula_tun_drop_local_broadcast: false 78 | nebula_tun_drop_multicast: false 79 | nebula_tun_tx_queue: 500 80 | nebula_tun_mtu: 1300 81 | 82 | nebula_logging_level: info 83 | nebula_logging_format: text 84 | nebula_logging_disable_timestamp: false 85 | 86 | nebula_firewall_conntrack_tcp_timeout: 12m 87 | nebula_firewall_conntrack_udp_timeout: 3m 88 | nebula_firewall_conntrack_default_timeout: 10m 89 | nebula_firewall_conntrack_max_connections: 100000 90 | 91 | nebula_firewall_outbound: 92 | - port: any 93 | proto: any 94 | host: any 95 | 96 | nebula_firewall_inbound: 97 | - port: any 98 | proto: any 99 | host: any 100 | -------------------------------------------------------------------------------- /handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Restart nebula service 3 | ansible.builtin.systemd: 4 | name: "{{ nebula_service_name }}" 5 | daemon_reload: true 6 | state: restarted 7 | enabled: true 8 | -------------------------------------------------------------------------------- /meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | role_name: nebula 4 | namespace: utkuozdemir 5 | author: Utku Ozdemir 6 | description: Ansible role to install Nebula Mesh overlay 7 | license: Apache-2.0 8 | min_ansible_version: "2.12" 9 | 10 | platforms: 11 | - name: Ubuntu 12 | versions: 13 | - focal 14 | 15 | galaxy_tags: 16 | - vpn 17 | - mesh 18 | - slackhq 19 | 20 | dependencies: [] 21 | -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- 1 | [[package]] 2 | name = "ansible" 3 | version = "7.0.0" 4 | description = "Radically simple IT automation" 5 | category = "main" 6 | optional = false 7 | python-versions = ">=3.9" 8 | 9 | [package.dependencies] 10 | ansible-core = ">=2.14.0,<2.15.0" 11 | 12 | [[package]] 13 | name = "ansible-compat" 14 | version = "2.2.5" 15 | description = "Ansible compatibility goodies" 16 | category = "main" 17 | optional = false 18 | python-versions = ">=3.8" 19 | 20 | [package.dependencies] 21 | jsonschema = ">=4.6.0" 22 | packaging = "*" 23 | PyYAML = "*" 24 | subprocess-tee = ">=0.3.5" 25 | 26 | [package.extras] 27 | docs = ["myst-parser", "sphinx (>=5.3.0)", "sphinx-ansible-theme", "sphinx-autobuild (>=2021.3.14)"] 28 | test = ["coverage", "flaky", "pip-tools", "pytest (>=7.2.0)", "pytest-mock", "pytest-plus"] 29 | 30 | [[package]] 31 | name = "ansible-core" 32 | version = "2.14.0" 33 | description = "Radically simple IT automation" 34 | category = "main" 35 | optional = false 36 | python-versions = ">=3.9" 37 | 38 | [package.dependencies] 39 | cryptography = "*" 40 | jinja2 = ">=3.0.0" 41 | packaging = "*" 42 | PyYAML = ">=5.1" 43 | resolvelib = ">=0.5.3,<0.9.0" 44 | 45 | [[package]] 46 | name = "ansible-lint" 47 | version = "6.8.7" 48 | description = "Checks playbooks for practices and behavior that could potentially be improved" 49 | category = "main" 50 | optional = false 51 | python-versions = ">=3.8" 52 | 53 | [package.dependencies] 54 | ansible-compat = ">=2.2.5" 55 | ansible-core = {version = ">=2.12.0", markers = "python_version >= \"3.9\""} 56 | black = ">=22.1.0" 57 | filelock = "*" 58 | jsonschema = ">=4.17.0" 59 | packaging = "*" 60 | pyyaml = ">=5.4.1" 61 | rich = ">=12.6.0" 62 | "ruamel.yaml" = ">=0.17.21,<0.18" 63 | wcmatch = ">=8.4.1" 64 | yamllint = ">=1.28.0" 65 | 66 | [package.extras] 67 | docs = ["myst-parser (>=0.16.1)", "pipdeptree (>=2.2.1)", "sphinx (>=4.4.0)", "sphinx-ansible-theme (>=0.9.1)", "sphinx-rtd-theme (>=1.0.0,<2.0.0)", "sphinxcontrib-apidoc (>=0.3.0)", "sphinxcontrib-programoutput2 (>=2.0a1)"] 68 | test = ["black", "coverage-enable-subprocess", "coverage[toml] (>=6.4.4)", "flake8", "flake8-future-annotations", "flaky (>=3.7.0)", "mypy", "psutil", "pylint", "pytest (>=7.2.0)", "pytest-mock", "pytest-plus (>=0.2)", "pytest-xdist (>=2.1.0)"] 69 | 70 | [[package]] 71 | name = "attrs" 72 | version = "21.4.0" 73 | description = "Classes Without Boilerplate" 74 | category = "main" 75 | optional = false 76 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 77 | 78 | [package.extras] 79 | dev = ["cloudpickle", "coverage[toml] (>=5.0.2)", "furo", "hypothesis", "mypy", "pre-commit", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "six", "sphinx", "sphinx-notfound-page", "zope.interface"] 80 | docs = ["furo", "sphinx", "sphinx-notfound-page", "zope.interface"] 81 | tests = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "six", "zope.interface"] 82 | tests-no-zope = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "six"] 83 | 84 | [[package]] 85 | name = "black" 86 | version = "22.8.0" 87 | description = "The uncompromising code formatter." 88 | category = "main" 89 | optional = false 90 | python-versions = ">=3.6.2" 91 | 92 | [package.dependencies] 93 | click = ">=8.0.0" 94 | mypy-extensions = ">=0.4.3" 95 | pathspec = ">=0.9.0" 96 | platformdirs = ">=2" 97 | tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""} 98 | 99 | [package.extras] 100 | colorama = ["colorama (>=0.4.3)"] 101 | d = ["aiohttp (>=3.7.4)"] 102 | jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] 103 | uvloop = ["uvloop (>=0.15.2)"] 104 | 105 | [[package]] 106 | name = "bracex" 107 | version = "2.2.1" 108 | description = "Bash style brace expander." 109 | category = "main" 110 | optional = false 111 | python-versions = ">=3.6" 112 | 113 | [[package]] 114 | name = "cffi" 115 | version = "1.15.0" 116 | description = "Foreign Function Interface for Python calling C code." 117 | category = "main" 118 | optional = false 119 | python-versions = "*" 120 | 121 | [package.dependencies] 122 | pycparser = "*" 123 | 124 | [[package]] 125 | name = "click" 126 | version = "8.1.3" 127 | description = "Composable command line interface toolkit" 128 | category = "main" 129 | optional = false 130 | python-versions = ">=3.7" 131 | 132 | [package.dependencies] 133 | colorama = {version = "*", markers = "platform_system == \"Windows\""} 134 | 135 | [[package]] 136 | name = "colorama" 137 | version = "0.4.4" 138 | description = "Cross-platform colored terminal text." 139 | category = "main" 140 | optional = false 141 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 142 | 143 | [[package]] 144 | name = "commonmark" 145 | version = "0.9.1" 146 | description = "Python parser for the CommonMark Markdown spec" 147 | category = "main" 148 | optional = false 149 | python-versions = "*" 150 | 151 | [package.extras] 152 | test = ["flake8 (==3.7.8)", "hypothesis (==3.55.3)"] 153 | 154 | [[package]] 155 | name = "cryptography" 156 | version = "36.0.1" 157 | description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." 158 | category = "main" 159 | optional = false 160 | python-versions = ">=3.6" 161 | 162 | [package.dependencies] 163 | cffi = ">=1.12" 164 | 165 | [package.extras] 166 | docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx_rtd_theme"] 167 | docstest = ["pyenchant (>=1.6.11)", "sphinxcontrib-spelling (>=4.0.1)", "twine (>=1.12.0)"] 168 | pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"] 169 | sdist = ["setuptools_rust (>=0.11.4)"] 170 | ssh = ["bcrypt (>=3.1.5)"] 171 | test = ["hypothesis (>=1.11.4,!=3.79.2)", "iso8601", "pretend", "pytest (>=6.2.0)", "pytest-cov", "pytest-subtests", "pytest-xdist", "pytz"] 172 | 173 | [[package]] 174 | name = "filelock" 175 | version = "3.8.0" 176 | description = "A platform independent file lock." 177 | category = "main" 178 | optional = false 179 | python-versions = ">=3.7" 180 | 181 | [package.extras] 182 | docs = ["furo (>=2022.6.21)", "sphinx (>=5.1.1)", "sphinx-autodoc-typehints (>=1.19.1)"] 183 | testing = ["covdefaults (>=2.2)", "coverage (>=6.4.2)", "pytest (>=7.1.2)", "pytest-cov (>=3)", "pytest-timeout (>=2.1)"] 184 | 185 | [[package]] 186 | name = "jinja2" 187 | version = "3.0.3" 188 | description = "A very fast and expressive template engine." 189 | category = "main" 190 | optional = false 191 | python-versions = ">=3.6" 192 | 193 | [package.dependencies] 194 | MarkupSafe = ">=2.0" 195 | 196 | [package.extras] 197 | i18n = ["Babel (>=2.7)"] 198 | 199 | [[package]] 200 | name = "jsonschema" 201 | version = "4.17.0" 202 | description = "An implementation of JSON Schema validation for Python" 203 | category = "main" 204 | optional = false 205 | python-versions = ">=3.7" 206 | 207 | [package.dependencies] 208 | attrs = ">=17.4.0" 209 | pyrsistent = ">=0.14.0,<0.17.0 || >0.17.0,<0.17.1 || >0.17.1,<0.17.2 || >0.17.2" 210 | 211 | [package.extras] 212 | format = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3987", "uri-template", "webcolors (>=1.11)"] 213 | format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "uri-template", "webcolors (>=1.11)"] 214 | 215 | [[package]] 216 | name = "markupsafe" 217 | version = "2.0.1" 218 | description = "Safely add untrusted strings to HTML/XML markup." 219 | category = "main" 220 | optional = false 221 | python-versions = ">=3.6" 222 | 223 | [[package]] 224 | name = "mypy-extensions" 225 | version = "0.4.3" 226 | description = "Experimental type system extensions for programs checked with the mypy typechecker." 227 | category = "main" 228 | optional = false 229 | python-versions = "*" 230 | 231 | [[package]] 232 | name = "packaging" 233 | version = "21.3" 234 | description = "Core utilities for Python packages" 235 | category = "main" 236 | optional = false 237 | python-versions = ">=3.6" 238 | 239 | [package.dependencies] 240 | pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" 241 | 242 | [[package]] 243 | name = "pathspec" 244 | version = "0.9.0" 245 | description = "Utility library for gitignore style pattern matching of file paths." 246 | category = "main" 247 | optional = false 248 | python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" 249 | 250 | [[package]] 251 | name = "platformdirs" 252 | version = "2.5.2" 253 | description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." 254 | category = "main" 255 | optional = false 256 | python-versions = ">=3.7" 257 | 258 | [package.extras] 259 | docs = ["furo (>=2021.7.5b38)", "proselint (>=0.10.2)", "sphinx (>=4)", "sphinx-autodoc-typehints (>=1.12)"] 260 | test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock (>=3.6)"] 261 | 262 | [[package]] 263 | name = "pycparser" 264 | version = "2.21" 265 | description = "C parser in Python" 266 | category = "main" 267 | optional = false 268 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 269 | 270 | [[package]] 271 | name = "pygments" 272 | version = "2.10.0" 273 | description = "Pygments is a syntax highlighting package written in Python." 274 | category = "main" 275 | optional = false 276 | python-versions = ">=3.5" 277 | 278 | [[package]] 279 | name = "pyparsing" 280 | version = "3.0.6" 281 | description = "Python parsing module" 282 | category = "main" 283 | optional = false 284 | python-versions = ">=3.6" 285 | 286 | [package.extras] 287 | diagrams = ["jinja2", "railroad-diagrams"] 288 | 289 | [[package]] 290 | name = "pyrsistent" 291 | version = "0.18.1" 292 | description = "Persistent/Functional/Immutable data structures" 293 | category = "main" 294 | optional = false 295 | python-versions = ">=3.7" 296 | 297 | [[package]] 298 | name = "pyyaml" 299 | version = "6.0" 300 | description = "YAML parser and emitter for Python" 301 | category = "main" 302 | optional = false 303 | python-versions = ">=3.6" 304 | 305 | [[package]] 306 | name = "resolvelib" 307 | version = "0.5.5" 308 | description = "Resolve abstract dependencies into concrete ones" 309 | category = "main" 310 | optional = false 311 | python-versions = "*" 312 | 313 | [package.extras] 314 | examples = ["html5lib", "packaging", "pygraphviz", "requests"] 315 | lint = ["black", "flake8"] 316 | release = ["setl", "towncrier"] 317 | test = ["commentjson", "packaging", "pytest"] 318 | 319 | [[package]] 320 | name = "rich" 321 | version = "12.6.0" 322 | description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" 323 | category = "main" 324 | optional = false 325 | python-versions = ">=3.6.3,<4.0.0" 326 | 327 | [package.dependencies] 328 | commonmark = ">=0.9.0,<0.10.0" 329 | pygments = ">=2.6.0,<3.0.0" 330 | 331 | [package.extras] 332 | jupyter = ["ipywidgets (>=7.5.1,<8.0.0)"] 333 | 334 | [[package]] 335 | name = "ruamel-yaml" 336 | version = "0.17.21" 337 | description = "ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order" 338 | category = "main" 339 | optional = false 340 | python-versions = ">=3" 341 | 342 | [package.dependencies] 343 | "ruamel.yaml.clib" = {version = ">=0.2.6", markers = "platform_python_implementation == \"CPython\" and python_version < \"3.11\""} 344 | 345 | [package.extras] 346 | docs = ["ryd"] 347 | jinja2 = ["ruamel.yaml.jinja2 (>=0.2)"] 348 | 349 | [[package]] 350 | name = "ruamel-yaml-clib" 351 | version = "0.2.7" 352 | description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" 353 | category = "main" 354 | optional = false 355 | python-versions = ">=3.5" 356 | 357 | [[package]] 358 | name = "setuptools" 359 | version = "65.3.0" 360 | description = "Easily download, build, install, upgrade, and uninstall Python packages" 361 | category = "main" 362 | optional = false 363 | python-versions = ">=3.7" 364 | 365 | [package.extras] 366 | docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"] 367 | testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8 (<5)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mock", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] 368 | testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] 369 | 370 | [[package]] 371 | name = "subprocess-tee" 372 | version = "0.3.5" 373 | description = "subprocess-tee" 374 | category = "main" 375 | optional = false 376 | python-versions = ">=3.6" 377 | 378 | [package.extras] 379 | test = ["enrich (>=1.2.6)", "mock (>=4.0.3)", "molecule (>=3.4.0)", "pytest (>=6.2.5)", "pytest-cov (>=2.12.1)", "pytest-plus (>=0.2)", "pytest-xdist (>=2.3.0)"] 380 | 381 | [[package]] 382 | name = "tomli" 383 | version = "2.0.1" 384 | description = "A lil' TOML parser" 385 | category = "main" 386 | optional = false 387 | python-versions = ">=3.7" 388 | 389 | [[package]] 390 | name = "wcmatch" 391 | version = "8.4.1" 392 | description = "Wildcard/glob file name matcher." 393 | category = "main" 394 | optional = false 395 | python-versions = ">=3.7" 396 | 397 | [package.dependencies] 398 | bracex = ">=2.1.1" 399 | 400 | [[package]] 401 | name = "yamllint" 402 | version = "1.28.0" 403 | description = "A linter for YAML files." 404 | category = "main" 405 | optional = false 406 | python-versions = ">=3.6" 407 | 408 | [package.dependencies] 409 | pathspec = ">=0.5.3" 410 | pyyaml = "*" 411 | setuptools = "*" 412 | 413 | [metadata] 414 | lock-version = "1.1" 415 | python-versions = "^3.10" 416 | content-hash = "daa4ae9554dbf665f6ba37eb8bc4bb71517e54cc4b1830bfc46236f7e6a2f60a" 417 | 418 | [metadata.files] 419 | ansible = [ 420 | {file = "ansible-7.0.0-py3-none-any.whl", hash = "sha256:2e9f519441780595ab173ac017210efc94c58633c9bc6e55917745d214cb4332"}, 421 | {file = "ansible-7.0.0.tar.gz", hash = "sha256:73144e7e602715fab623005d2e71e503dddae86185e061fed861b2449c5618ea"}, 422 | ] 423 | ansible-compat = [ 424 | {file = "ansible-compat-2.2.5.tar.gz", hash = "sha256:28c7c545fd60ef9c3059cfb2fefd27f92db091ff6b5868f83f121ceb5e1fe1b5"}, 425 | {file = "ansible_compat-2.2.5-py3-none-any.whl", hash = "sha256:ad5f10019a54283ae8e61a80c4c427c73a242167182c0d738018262e931476e3"}, 426 | ] 427 | ansible-core = [ 428 | {file = "ansible-core-2.14.0.tar.gz", hash = "sha256:fa48b481cb623bf79bb903f223097681a0c13e1b4ec7e78e7dd7d858d36a34b2"}, 429 | {file = "ansible_core-2.14.0-py3-none-any.whl", hash = "sha256:b191d397c81514bd1922e00e16f0b8ec52e0bcb19b61cc4500085f5f92470cf2"}, 430 | ] 431 | ansible-lint = [ 432 | {file = "ansible-lint-6.8.7.tar.gz", hash = "sha256:de3de4e57cd54e17c1ec3a0b4a21d4811838e77d67b56cbe8f91107f2a434432"}, 433 | {file = "ansible_lint-6.8.7-py3-none-any.whl", hash = "sha256:1824afce2a5619b47c19f6377a0d85b4f39e80b1fc1857191d6a908d68396bf9"}, 434 | ] 435 | attrs = [ 436 | {file = "attrs-21.4.0-py2.py3-none-any.whl", hash = "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4"}, 437 | {file = "attrs-21.4.0.tar.gz", hash = "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"}, 438 | ] 439 | black = [ 440 | {file = "black-22.8.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ce957f1d6b78a8a231b18e0dd2d94a33d2ba738cd88a7fe64f53f659eea49fdd"}, 441 | {file = "black-22.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5107ea36b2b61917956d018bd25129baf9ad1125e39324a9b18248d362156a27"}, 442 | {file = "black-22.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e8166b7bfe5dcb56d325385bd1d1e0f635f24aae14b3ae437102dedc0c186747"}, 443 | {file = "black-22.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd82842bb272297503cbec1a2600b6bfb338dae017186f8f215c8958f8acf869"}, 444 | {file = "black-22.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:d839150f61d09e7217f52917259831fe2b689f5c8e5e32611736351b89bb2a90"}, 445 | {file = "black-22.8.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:a05da0430bd5ced89176db098567973be52ce175a55677436a271102d7eaa3fe"}, 446 | {file = "black-22.8.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a098a69a02596e1f2a58a2a1c8d5a05d5a74461af552b371e82f9fa4ada8342"}, 447 | {file = "black-22.8.0-cp36-cp36m-win_amd64.whl", hash = "sha256:5594efbdc35426e35a7defa1ea1a1cb97c7dbd34c0e49af7fb593a36bd45edab"}, 448 | {file = "black-22.8.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a983526af1bea1e4cf6768e649990f28ee4f4137266921c2c3cee8116ae42ec3"}, 449 | {file = "black-22.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b2c25f8dea5e8444bdc6788a2f543e1fb01494e144480bc17f806178378005e"}, 450 | {file = "black-22.8.0-cp37-cp37m-win_amd64.whl", hash = "sha256:78dd85caaab7c3153054756b9fe8c611efa63d9e7aecfa33e533060cb14b6d16"}, 451 | {file = "black-22.8.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:cea1b2542d4e2c02c332e83150e41e3ca80dc0fb8de20df3c5e98e242156222c"}, 452 | {file = "black-22.8.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5b879eb439094751185d1cfdca43023bc6786bd3c60372462b6f051efa6281a5"}, 453 | {file = "black-22.8.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:0a12e4e1353819af41df998b02c6742643cfef58282915f781d0e4dd7a200411"}, 454 | {file = "black-22.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c3a73f66b6d5ba7288cd5d6dad9b4c9b43f4e8a4b789a94bf5abfb878c663eb3"}, 455 | {file = "black-22.8.0-cp38-cp38-win_amd64.whl", hash = "sha256:e981e20ec152dfb3e77418fb616077937378b322d7b26aa1ff87717fb18b4875"}, 456 | {file = "black-22.8.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:8ce13ffed7e66dda0da3e0b2eb1bdfc83f5812f66e09aca2b0978593ed636b6c"}, 457 | {file = "black-22.8.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:32a4b17f644fc288c6ee2bafdf5e3b045f4eff84693ac069d87b1a347d861497"}, 458 | {file = "black-22.8.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0ad827325a3a634bae88ae7747db1a395d5ee02cf05d9aa7a9bd77dfb10e940c"}, 459 | {file = "black-22.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:53198e28a1fb865e9fe97f88220da2e44df6da82b18833b588b1883b16bb5d41"}, 460 | {file = "black-22.8.0-cp39-cp39-win_amd64.whl", hash = "sha256:bc4d4123830a2d190e9cc42a2e43570f82ace35c3aeb26a512a2102bce5af7ec"}, 461 | {file = "black-22.8.0-py3-none-any.whl", hash = "sha256:d2c21d439b2baf7aa80d6dd4e3659259be64c6f49dfd0f32091063db0e006db4"}, 462 | {file = "black-22.8.0.tar.gz", hash = "sha256:792f7eb540ba9a17e8656538701d3eb1afcb134e3b45b71f20b25c77a8db7e6e"}, 463 | ] 464 | bracex = [ 465 | {file = "bracex-2.2.1-py3-none-any.whl", hash = "sha256:096c4b788bf492f7af4e90ef8b5bcbfb99759ae3415ea1b83c9d29a5ed8f9a94"}, 466 | {file = "bracex-2.2.1.tar.gz", hash = "sha256:1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21"}, 467 | ] 468 | cffi = [ 469 | {file = "cffi-1.15.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:c2502a1a03b6312837279c8c1bd3ebedf6c12c4228ddbad40912d671ccc8a962"}, 470 | {file = "cffi-1.15.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:23cfe892bd5dd8941608f93348c0737e369e51c100d03718f108bf1add7bd6d0"}, 471 | {file = "cffi-1.15.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:41d45de54cd277a7878919867c0f08b0cf817605e4eb94093e7516505d3c8d14"}, 472 | {file = "cffi-1.15.0-cp27-cp27m-win32.whl", hash = "sha256:4a306fa632e8f0928956a41fa8e1d6243c71e7eb59ffbd165fc0b41e316b2474"}, 473 | {file = "cffi-1.15.0-cp27-cp27m-win_amd64.whl", hash = "sha256:e7022a66d9b55e93e1a845d8c9eba2a1bebd4966cd8bfc25d9cd07d515b33fa6"}, 474 | {file = "cffi-1.15.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:14cd121ea63ecdae71efa69c15c5543a4b5fbcd0bbe2aad864baca0063cecf27"}, 475 | {file = "cffi-1.15.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:d4d692a89c5cf08a8557fdeb329b82e7bf609aadfaed6c0d79f5a449a3c7c023"}, 476 | {file = "cffi-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0104fb5ae2391d46a4cb082abdd5c69ea4eab79d8d44eaaf79f1b1fd806ee4c2"}, 477 | {file = "cffi-1.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:91ec59c33514b7c7559a6acda53bbfe1b283949c34fe7440bcf917f96ac0723e"}, 478 | {file = "cffi-1.15.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:f5c7150ad32ba43a07c4479f40241756145a1f03b43480e058cfd862bf5041c7"}, 479 | {file = "cffi-1.15.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:00c878c90cb53ccfaae6b8bc18ad05d2036553e6d9d1d9dbcf323bbe83854ca3"}, 480 | {file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:abb9a20a72ac4e0fdb50dae135ba5e77880518e742077ced47eb1499e29a443c"}, 481 | {file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a5263e363c27b653a90078143adb3d076c1a748ec9ecc78ea2fb916f9b861962"}, 482 | {file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f54a64f8b0c8ff0b64d18aa76675262e1700f3995182267998c31ae974fbc382"}, 483 | {file = "cffi-1.15.0-cp310-cp310-win32.whl", hash = "sha256:c21c9e3896c23007803a875460fb786118f0cdd4434359577ea25eb556e34c55"}, 484 | {file = "cffi-1.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:5e069f72d497312b24fcc02073d70cb989045d1c91cbd53979366077959933e0"}, 485 | {file = "cffi-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:64d4ec9f448dfe041705426000cc13e34e6e5bb13736e9fd62e34a0b0c41566e"}, 486 | {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2756c88cbb94231c7a147402476be2c4df2f6078099a6f4a480d239a8817ae39"}, 487 | {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b96a311ac60a3f6be21d2572e46ce67f09abcf4d09344c49274eb9e0bf345fc"}, 488 | {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:75e4024375654472cc27e91cbe9eaa08567f7fbdf822638be2814ce059f58032"}, 489 | {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:59888172256cac5629e60e72e86598027aca6bf01fa2465bdb676d37636573e8"}, 490 | {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:27c219baf94952ae9d50ec19651a687b826792055353d07648a5695413e0c605"}, 491 | {file = "cffi-1.15.0-cp36-cp36m-win32.whl", hash = "sha256:4958391dbd6249d7ad855b9ca88fae690783a6be9e86df65865058ed81fc860e"}, 492 | {file = "cffi-1.15.0-cp36-cp36m-win_amd64.whl", hash = "sha256:f6f824dc3bce0edab5f427efcfb1d63ee75b6fcb7282900ccaf925be84efb0fc"}, 493 | {file = "cffi-1.15.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:06c48159c1abed75c2e721b1715c379fa3200c7784271b3c46df01383b593636"}, 494 | {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c2051981a968d7de9dd2d7b87bcb9c939c74a34626a6e2f8181455dd49ed69e4"}, 495 | {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:fd8a250edc26254fe5b33be00402e6d287f562b6a5b2152dec302fa15bb3e997"}, 496 | {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91d77d2a782be4274da750752bb1650a97bfd8f291022b379bb8e01c66b4e96b"}, 497 | {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:45db3a33139e9c8f7c09234b5784a5e33d31fd6907800b316decad50af323ff2"}, 498 | {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:263cc3d821c4ab2213cbe8cd8b355a7f72a8324577dc865ef98487c1aeee2bc7"}, 499 | {file = "cffi-1.15.0-cp37-cp37m-win32.whl", hash = "sha256:17771976e82e9f94976180f76468546834d22a7cc404b17c22df2a2c81db0c66"}, 500 | {file = "cffi-1.15.0-cp37-cp37m-win_amd64.whl", hash = "sha256:3415c89f9204ee60cd09b235810be700e993e343a408693e80ce7f6a40108029"}, 501 | {file = "cffi-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880"}, 502 | {file = "cffi-1.15.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20"}, 503 | {file = "cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024"}, 504 | {file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e"}, 505 | {file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728"}, 506 | {file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6"}, 507 | {file = "cffi-1.15.0-cp38-cp38-win32.whl", hash = "sha256:da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c"}, 508 | {file = "cffi-1.15.0-cp38-cp38-win_amd64.whl", hash = "sha256:181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443"}, 509 | {file = "cffi-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:45e8636704eacc432a206ac7345a5d3d2c62d95a507ec70d62f23cd91770482a"}, 510 | {file = "cffi-1.15.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:31fb708d9d7c3f49a60f04cf5b119aeefe5644daba1cd2a0fe389b674fd1de37"}, 511 | {file = "cffi-1.15.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:6dc2737a3674b3e344847c8686cf29e500584ccad76204efea14f451d4cc669a"}, 512 | {file = "cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:74fdfdbfdc48d3f47148976f49fab3251e550a8720bebc99bf1483f5bfb5db3e"}, 513 | {file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffaa5c925128e29efbde7301d8ecaf35c8c60ffbcd6a1ffd3a552177c8e5e796"}, 514 | {file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3f7d084648d77af029acb79a0ff49a0ad7e9d09057a9bf46596dac9514dc07df"}, 515 | {file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ef1f279350da2c586a69d32fc8733092fd32cc8ac95139a00377841f59a3f8d8"}, 516 | {file = "cffi-1.15.0-cp39-cp39-win32.whl", hash = "sha256:2a23af14f408d53d5e6cd4e3d9a24ff9e05906ad574822a10563efcef137979a"}, 517 | {file = "cffi-1.15.0-cp39-cp39-win_amd64.whl", hash = "sha256:3773c4d81e6e818df2efbc7dd77325ca0dcb688116050fb2b3011218eda36139"}, 518 | {file = "cffi-1.15.0.tar.gz", hash = "sha256:920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954"}, 519 | ] 520 | click = [ 521 | {file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"}, 522 | {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"}, 523 | ] 524 | colorama = [ 525 | {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, 526 | {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, 527 | ] 528 | commonmark = [ 529 | {file = "commonmark-0.9.1-py2.py3-none-any.whl", hash = "sha256:da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9"}, 530 | {file = "commonmark-0.9.1.tar.gz", hash = "sha256:452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60"}, 531 | ] 532 | cryptography = [ 533 | {file = "cryptography-36.0.1-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b"}, 534 | {file = "cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31"}, 535 | {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a"}, 536 | {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173"}, 537 | {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12"}, 538 | {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3"}, 539 | {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2"}, 540 | {file = "cryptography-36.0.1-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f"}, 541 | {file = "cryptography-36.0.1-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:e0344c14c9cb89e76eb6a060e67980c9e35b3f36691e15e1b7a9e58a0a6c6dc3"}, 542 | {file = "cryptography-36.0.1-cp36-abi3-win32.whl", hash = "sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca"}, 543 | {file = "cryptography-36.0.1-cp36-abi3-win_amd64.whl", hash = "sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf"}, 544 | {file = "cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9"}, 545 | {file = "cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ebc15b1c22e55c4d5566e3ca4db8689470a0ca2babef8e3a9ee057a8b82ce4b1"}, 546 | {file = "cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94"}, 547 | {file = "cryptography-36.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl", hash = "sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac"}, 548 | {file = "cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ec63da4e7e4a5f924b90af42eddf20b698a70e58d86a72d943857c4c6045b3ee"}, 549 | {file = "cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46"}, 550 | {file = "cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b903"}, 551 | {file = "cryptography-36.0.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316"}, 552 | {file = "cryptography-36.0.1.tar.gz", hash = "sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"}, 553 | ] 554 | filelock = [ 555 | {file = "filelock-3.8.0-py3-none-any.whl", hash = "sha256:617eb4e5eedc82fc5f47b6d61e4d11cb837c56cb4544e39081099fa17ad109d4"}, 556 | {file = "filelock-3.8.0.tar.gz", hash = "sha256:55447caa666f2198c5b6b13a26d2084d26fa5b115c00d065664b2124680c4edc"}, 557 | ] 558 | jinja2 = [ 559 | {file = "Jinja2-3.0.3-py3-none-any.whl", hash = "sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8"}, 560 | {file = "Jinja2-3.0.3.tar.gz", hash = "sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7"}, 561 | ] 562 | jsonschema = [ 563 | {file = "jsonschema-4.17.0-py3-none-any.whl", hash = "sha256:f660066c3966db7d6daeaea8a75e0b68237a48e51cf49882087757bb59916248"}, 564 | {file = "jsonschema-4.17.0.tar.gz", hash = "sha256:5bfcf2bca16a087ade17e02b282d34af7ccd749ef76241e7f9bd7c0cb8a9424d"}, 565 | ] 566 | markupsafe = [ 567 | {file = "MarkupSafe-2.0.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53"}, 568 | {file = "MarkupSafe-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38"}, 569 | {file = "MarkupSafe-2.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad"}, 570 | {file = "MarkupSafe-2.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d"}, 571 | {file = "MarkupSafe-2.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646"}, 572 | {file = "MarkupSafe-2.0.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:4dc8f9fb58f7364b63fd9f85013b780ef83c11857ae79f2feda41e270468dd9b"}, 573 | {file = "MarkupSafe-2.0.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:20dca64a3ef2d6e4d5d615a3fd418ad3bde77a47ec8a23d984a12b5b4c74491a"}, 574 | {file = "MarkupSafe-2.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:cdfba22ea2f0029c9261a4bd07e830a8da012291fbe44dc794e488b6c9bb353a"}, 575 | {file = "MarkupSafe-2.0.1-cp310-cp310-win32.whl", hash = "sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28"}, 576 | {file = "MarkupSafe-2.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134"}, 577 | {file = "MarkupSafe-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51"}, 578 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff"}, 579 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b"}, 580 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94"}, 581 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872"}, 582 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f"}, 583 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c"}, 584 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724"}, 585 | {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145"}, 586 | {file = "MarkupSafe-2.0.1-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:deb993cacb280823246a026e3b2d81c493c53de6acfd5e6bfe31ab3402bb37dd"}, 587 | {file = "MarkupSafe-2.0.1-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:63f3268ba69ace99cab4e3e3b5840b03340efed0948ab8f78d2fd87ee5442a4f"}, 588 | {file = "MarkupSafe-2.0.1-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:8d206346619592c6200148b01a2142798c989edcb9c896f9ac9722a99d4e77e6"}, 589 | {file = "MarkupSafe-2.0.1-cp36-cp36m-win32.whl", hash = "sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d"}, 590 | {file = "MarkupSafe-2.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9"}, 591 | {file = "MarkupSafe-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567"}, 592 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18"}, 593 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f"}, 594 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f"}, 595 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2"}, 596 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d"}, 597 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85"}, 598 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6"}, 599 | {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864"}, 600 | {file = "MarkupSafe-2.0.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d6c7ebd4e944c85e2c3421e612a7057a2f48d478d79e61800d81468a8d842207"}, 601 | {file = "MarkupSafe-2.0.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f0567c4dc99f264f49fe27da5f735f414c4e7e7dd850cfd8e69f0862d7c74ea9"}, 602 | {file = "MarkupSafe-2.0.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:89c687013cb1cd489a0f0ac24febe8c7a666e6e221b783e53ac50ebf68e45d86"}, 603 | {file = "MarkupSafe-2.0.1-cp37-cp37m-win32.whl", hash = "sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415"}, 604 | {file = "MarkupSafe-2.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914"}, 605 | {file = "MarkupSafe-2.0.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9"}, 606 | {file = "MarkupSafe-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066"}, 607 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35"}, 608 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b"}, 609 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298"}, 610 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75"}, 611 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb"}, 612 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b"}, 613 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a"}, 614 | {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6"}, 615 | {file = "MarkupSafe-2.0.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:aca6377c0cb8a8253e493c6b451565ac77e98c2951c45f913e0b52facdcff83f"}, 616 | {file = "MarkupSafe-2.0.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:04635854b943835a6ea959e948d19dcd311762c5c0c6e1f0e16ee57022669194"}, 617 | {file = "MarkupSafe-2.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6300b8454aa6930a24b9618fbb54b5a68135092bc666f7b06901f897fa5c2fee"}, 618 | {file = "MarkupSafe-2.0.1-cp38-cp38-win32.whl", hash = "sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64"}, 619 | {file = "MarkupSafe-2.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833"}, 620 | {file = "MarkupSafe-2.0.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26"}, 621 | {file = "MarkupSafe-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7"}, 622 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux1_i686.whl", hash = "sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8"}, 623 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5"}, 624 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135"}, 625 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902"}, 626 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509"}, 627 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1"}, 628 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac"}, 629 | {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6"}, 630 | {file = "MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:4296f2b1ce8c86a6aea78613c34bb1a672ea0e3de9c6ba08a960efe0b0a09047"}, 631 | {file = "MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f02365d4e99430a12647f09b6cc8bab61a6564363f313126f775eb4f6ef798e"}, 632 | {file = "MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5b6d930f030f8ed98e3e6c98ffa0652bdb82601e7a016ec2ab5d7ff23baa78d1"}, 633 | {file = "MarkupSafe-2.0.1-cp39-cp39-win32.whl", hash = "sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74"}, 634 | {file = "MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8"}, 635 | {file = "MarkupSafe-2.0.1.tar.gz", hash = "sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a"}, 636 | ] 637 | mypy-extensions = [ 638 | {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"}, 639 | {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, 640 | ] 641 | packaging = [ 642 | {file = "packaging-21.3-py3-none-any.whl", hash = "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"}, 643 | {file = "packaging-21.3.tar.gz", hash = "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"}, 644 | ] 645 | pathspec = [ 646 | {file = "pathspec-0.9.0-py2.py3-none-any.whl", hash = "sha256:7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a"}, 647 | {file = "pathspec-0.9.0.tar.gz", hash = "sha256:e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1"}, 648 | ] 649 | platformdirs = [ 650 | {file = "platformdirs-2.5.2-py3-none-any.whl", hash = "sha256:027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788"}, 651 | {file = "platformdirs-2.5.2.tar.gz", hash = "sha256:58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19"}, 652 | ] 653 | pycparser = [ 654 | {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, 655 | {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, 656 | ] 657 | pygments = [ 658 | {file = "Pygments-2.10.0-py3-none-any.whl", hash = "sha256:b8e67fe6af78f492b3c4b3e2970c0624cbf08beb1e493b2c99b9fa1b67a20380"}, 659 | {file = "Pygments-2.10.0.tar.gz", hash = "sha256:f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6"}, 660 | ] 661 | pyparsing = [ 662 | {file = "pyparsing-3.0.6-py3-none-any.whl", hash = "sha256:04ff808a5b90911829c55c4e26f75fa5ca8a2f5f36aa3a51f68e27033341d3e4"}, 663 | {file = "pyparsing-3.0.6.tar.gz", hash = "sha256:d9bdec0013ef1eb5a84ab39a3b3868911598afa494f5faa038647101504e2b81"}, 664 | ] 665 | pyrsistent = [ 666 | {file = "pyrsistent-0.18.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:df46c854f490f81210870e509818b729db4488e1f30f2a1ce1698b2295a878d1"}, 667 | {file = "pyrsistent-0.18.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d45866ececf4a5fff8742c25722da6d4c9e180daa7b405dc0a2a2790d668c26"}, 668 | {file = "pyrsistent-0.18.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4ed6784ceac462a7d6fcb7e9b663e93b9a6fb373b7f43594f9ff68875788e01e"}, 669 | {file = "pyrsistent-0.18.1-cp310-cp310-win32.whl", hash = "sha256:e4f3149fd5eb9b285d6bfb54d2e5173f6a116fe19172686797c056672689daf6"}, 670 | {file = "pyrsistent-0.18.1-cp310-cp310-win_amd64.whl", hash = "sha256:636ce2dc235046ccd3d8c56a7ad54e99d5c1cd0ef07d9ae847306c91d11b5fec"}, 671 | {file = "pyrsistent-0.18.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e92a52c166426efbe0d1ec1332ee9119b6d32fc1f0bbfd55d5c1088070e7fc1b"}, 672 | {file = "pyrsistent-0.18.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7a096646eab884bf8bed965bad63ea327e0d0c38989fc83c5ea7b8a87037bfc"}, 673 | {file = "pyrsistent-0.18.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cdfd2c361b8a8e5d9499b9082b501c452ade8bbf42aef97ea04854f4a3f43b22"}, 674 | {file = "pyrsistent-0.18.1-cp37-cp37m-win32.whl", hash = "sha256:7ec335fc998faa4febe75cc5268a9eac0478b3f681602c1f27befaf2a1abe1d8"}, 675 | {file = "pyrsistent-0.18.1-cp37-cp37m-win_amd64.whl", hash = "sha256:6455fc599df93d1f60e1c5c4fe471499f08d190d57eca040c0ea182301321286"}, 676 | {file = "pyrsistent-0.18.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fd8da6d0124efa2f67d86fa70c851022f87c98e205f0594e1fae044e7119a5a6"}, 677 | {file = "pyrsistent-0.18.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bfe2388663fd18bd8ce7db2c91c7400bf3e1a9e8bd7d63bf7e77d39051b85ec"}, 678 | {file = "pyrsistent-0.18.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0e3e1fcc45199df76053026a51cc59ab2ea3fc7c094c6627e93b7b44cdae2c8c"}, 679 | {file = "pyrsistent-0.18.1-cp38-cp38-win32.whl", hash = "sha256:b568f35ad53a7b07ed9b1b2bae09eb15cdd671a5ba5d2c66caee40dbf91c68ca"}, 680 | {file = "pyrsistent-0.18.1-cp38-cp38-win_amd64.whl", hash = "sha256:d1b96547410f76078eaf66d282ddca2e4baae8964364abb4f4dcdde855cd123a"}, 681 | {file = "pyrsistent-0.18.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:f87cc2863ef33c709e237d4b5f4502a62a00fab450c9e020892e8e2ede5847f5"}, 682 | {file = "pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6bc66318fb7ee012071b2792024564973ecc80e9522842eb4e17743604b5e045"}, 683 | {file = "pyrsistent-0.18.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:914474c9f1d93080338ace89cb2acee74f4f666fb0424896fcfb8d86058bf17c"}, 684 | {file = "pyrsistent-0.18.1-cp39-cp39-win32.whl", hash = "sha256:1b34eedd6812bf4d33814fca1b66005805d3640ce53140ab8bbb1e2651b0d9bc"}, 685 | {file = "pyrsistent-0.18.1-cp39-cp39-win_amd64.whl", hash = "sha256:e24a828f57e0c337c8d8bb9f6b12f09dfdf0273da25fda9e314f0b684b415a07"}, 686 | {file = "pyrsistent-0.18.1.tar.gz", hash = "sha256:d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96"}, 687 | ] 688 | pyyaml = [ 689 | {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"}, 690 | {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"}, 691 | {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"}, 692 | {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b"}, 693 | {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"}, 694 | {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"}, 695 | {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"}, 696 | {file = "PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358"}, 697 | {file = "PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1"}, 698 | {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d"}, 699 | {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f"}, 700 | {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782"}, 701 | {file = "PyYAML-6.0-cp311-cp311-win32.whl", hash = "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7"}, 702 | {file = "PyYAML-6.0-cp311-cp311-win_amd64.whl", hash = "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf"}, 703 | {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"}, 704 | {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"}, 705 | {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"}, 706 | {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4"}, 707 | {file = "PyYAML-6.0-cp36-cp36m-win32.whl", hash = "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293"}, 708 | {file = "PyYAML-6.0-cp36-cp36m-win_amd64.whl", hash = "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57"}, 709 | {file = "PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c"}, 710 | {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0"}, 711 | {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4"}, 712 | {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9"}, 713 | {file = "PyYAML-6.0-cp37-cp37m-win32.whl", hash = "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737"}, 714 | {file = "PyYAML-6.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d"}, 715 | {file = "PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b"}, 716 | {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba"}, 717 | {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34"}, 718 | {file = "PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287"}, 719 | {file = "PyYAML-6.0-cp38-cp38-win32.whl", hash = "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78"}, 720 | {file = "PyYAML-6.0-cp38-cp38-win_amd64.whl", hash = "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07"}, 721 | {file = "PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b"}, 722 | {file = "PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174"}, 723 | {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803"}, 724 | {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3"}, 725 | {file = "PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0"}, 726 | {file = "PyYAML-6.0-cp39-cp39-win32.whl", hash = "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb"}, 727 | {file = "PyYAML-6.0-cp39-cp39-win_amd64.whl", hash = "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c"}, 728 | {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"}, 729 | ] 730 | resolvelib = [ 731 | {file = "resolvelib-0.5.5-py2.py3-none-any.whl", hash = "sha256:b0143b9d074550a6c5163a0f587e49c49017434e3cdfe853941725f5455dd29c"}, 732 | {file = "resolvelib-0.5.5.tar.gz", hash = "sha256:123de56548c90df85137425a3f51eb93df89e2ba719aeb6a8023c032758be950"}, 733 | ] 734 | rich = [ 735 | {file = "rich-12.6.0-py3-none-any.whl", hash = "sha256:a4eb26484f2c82589bd9a17c73d32a010b1e29d89f1604cd9bf3a2097b81bb5e"}, 736 | {file = "rich-12.6.0.tar.gz", hash = "sha256:ba3a3775974105c221d31141f2c116f4fd65c5ceb0698657a11e9f295ec93fd0"}, 737 | ] 738 | ruamel-yaml = [ 739 | {file = "ruamel.yaml-0.17.21-py3-none-any.whl", hash = "sha256:742b35d3d665023981bd6d16b3d24248ce5df75fdb4e2924e93a05c1f8b61ca7"}, 740 | {file = "ruamel.yaml-0.17.21.tar.gz", hash = "sha256:8b7ce697a2f212752a35c1ac414471dc16c424c9573be4926b56ff3f5d23b7af"}, 741 | ] 742 | ruamel-yaml-clib = [ 743 | {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d5859983f26d8cd7bb5c287ef452e8aacc86501487634573d260968f753e1d71"}, 744 | {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:debc87a9516b237d0466a711b18b6ebeb17ba9f391eb7f91c649c5c4ec5006c7"}, 745 | {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-manylinux2014_aarch64.whl", hash = "sha256:df5828871e6648db72d1c19b4bd24819b80a755c4541d3409f0f7acd0f335c80"}, 746 | {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:efa08d63ef03d079dcae1dfe334f6c8847ba8b645d08df286358b1f5293d24ab"}, 747 | {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-win32.whl", hash = "sha256:763d65baa3b952479c4e972669f679fe490eee058d5aa85da483ebae2009d231"}, 748 | {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-win_amd64.whl", hash = "sha256:d000f258cf42fec2b1bbf2863c61d7b8918d31ffee905da62dede869254d3b8a"}, 749 | {file = "ruamel.yaml.clib-0.2.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:045e0626baf1c52e5527bd5db361bc83180faaba2ff586e763d3d5982a876a9e"}, 750 | {file = "ruamel.yaml.clib-0.2.7-cp311-cp311-macosx_12_6_arm64.whl", hash = "sha256:721bc4ba4525f53f6a611ec0967bdcee61b31df5a56801281027a3a6d1c2daf5"}, 751 | {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:4b3a93bb9bc662fc1f99c5c3ea8e623d8b23ad22f861eb6fce9377ac07ad6072"}, 752 | {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-macosx_12_0_arm64.whl", hash = "sha256:a234a20ae07e8469da311e182e70ef6b199d0fbeb6c6cc2901204dd87fb867e8"}, 753 | {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:15910ef4f3e537eea7fe45f8a5d19997479940d9196f357152a09031c5be59f3"}, 754 | {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:370445fd795706fd291ab00c9df38a0caed0f17a6fb46b0f607668ecb16ce763"}, 755 | {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-win32.whl", hash = "sha256:ecdf1a604009bd35c674b9225a8fa609e0282d9b896c03dd441a91e5f53b534e"}, 756 | {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-win_amd64.whl", hash = "sha256:f34019dced51047d6f70cb9383b2ae2853b7fc4dce65129a5acd49f4f9256646"}, 757 | {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:2aa261c29a5545adfef9296b7e33941f46aa5bbd21164228e833412af4c9c75f"}, 758 | {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-macosx_12_0_arm64.whl", hash = "sha256:f01da5790e95815eb5a8a138508c01c758e5f5bc0ce4286c4f7028b8dd7ac3d0"}, 759 | {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:40d030e2329ce5286d6b231b8726959ebbe0404c92f0a578c0e2482182e38282"}, 760 | {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:c3ca1fbba4ae962521e5eb66d72998b51f0f4d0f608d3c0347a48e1af262efa7"}, 761 | {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-win32.whl", hash = "sha256:7bdb4c06b063f6fd55e472e201317a3bb6cdeeee5d5a38512ea5c01e1acbdd93"}, 762 | {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-win_amd64.whl", hash = "sha256:be2a7ad8fd8f7442b24323d24ba0b56c51219513cfa45b9ada3b87b76c374d4b"}, 763 | {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:91a789b4aa0097b78c93e3dc4b40040ba55bef518f84a40d4442f713b4094acb"}, 764 | {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-macosx_12_0_arm64.whl", hash = "sha256:99e77daab5d13a48a4054803d052ff40780278240a902b880dd37a51ba01a307"}, 765 | {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:3243f48ecd450eddadc2d11b5feb08aca941b5cd98c9b1db14b2fd128be8c697"}, 766 | {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:8831a2cedcd0f0927f788c5bdf6567d9dc9cc235646a434986a852af1cb54b4b"}, 767 | {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-win32.whl", hash = "sha256:3110a99e0f94a4a3470ff67fc20d3f96c25b13d24c6980ff841e82bafe827cac"}, 768 | {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-win_amd64.whl", hash = "sha256:92460ce908546ab69770b2e576e4f99fbb4ce6ab4b245345a3869a0a0410488f"}, 769 | {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5bc0667c1eb8f83a3752b71b9c4ba55ef7c7058ae57022dd9b29065186a113d9"}, 770 | {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:4a4d8d417868d68b979076a9be6a38c676eca060785abaa6709c7b31593c35d1"}, 771 | {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:bf9a6bc4a0221538b1a7de3ed7bca4c93c02346853f44e1cd764be0023cd3640"}, 772 | {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:a7b301ff08055d73223058b5c46c55638917f04d21577c95e00e0c4d79201a6b"}, 773 | {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-win32.whl", hash = "sha256:d5e51e2901ec2366b79f16c2299a03e74ba4531ddcfacc1416639c557aef0ad8"}, 774 | {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-win_amd64.whl", hash = "sha256:184faeaec61dbaa3cace407cffc5819f7b977e75360e8d5ca19461cd851a5fc5"}, 775 | {file = "ruamel.yaml.clib-0.2.7.tar.gz", hash = "sha256:1f08fd5a2bea9c4180db71678e850b995d2a5f4537be0e94557668cf0f5f9497"}, 776 | ] 777 | setuptools = [ 778 | {file = "setuptools-65.3.0-py3-none-any.whl", hash = "sha256:2e24e0bec025f035a2e72cdd1961119f557d78ad331bb00ff82efb2ab8da8e82"}, 779 | {file = "setuptools-65.3.0.tar.gz", hash = "sha256:7732871f4f7fa58fb6bdcaeadb0161b2bd046c85905dbaa066bdcbcc81953b57"}, 780 | ] 781 | subprocess-tee = [ 782 | {file = "subprocess-tee-0.3.5.tar.gz", hash = "sha256:ff5cced589a4b8ac973276ca1ba21bb6e3de600cde11a69947ff51f696efd577"}, 783 | {file = "subprocess_tee-0.3.5-py3-none-any.whl", hash = "sha256:d34186c639aa7f8013b5dfba80e17f52589539137c9d9205f2ae1c1bd03549e1"}, 784 | ] 785 | tomli = [ 786 | {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, 787 | {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, 788 | ] 789 | wcmatch = [ 790 | {file = "wcmatch-8.4.1-py3-none-any.whl", hash = "sha256:3476cd107aba7b25ba1d59406938a47dc7eec6cfd0ad09ff77193f21a964dee7"}, 791 | {file = "wcmatch-8.4.1.tar.gz", hash = "sha256:b1f042a899ea4c458b7321da1b5e3331e3e0ec781583434de1301946ceadb943"}, 792 | ] 793 | yamllint = [ 794 | {file = "yamllint-1.28.0-py2.py3-none-any.whl", hash = "sha256:89bb5b5ac33b1ade059743cf227de73daa34d5e5a474b06a5e17fc16583b0cf2"}, 795 | {file = "yamllint-1.28.0.tar.gz", hash = "sha256:9e3d8ddd16d0583214c5fdffe806c9344086721f107435f68bad990e5a88826b"}, 796 | ] 797 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "nebula" 3 | version = "0.1.0" 4 | description = "Nebula Mesh setup" 5 | authors = ["Utku Ozdemir "] 6 | license = "Apache-2.0" 7 | readme = "README.md" 8 | 9 | [tool.poetry.dependencies] 10 | python = "^3.10" 11 | 12 | # https://pypi.org/project/ansible/#history 13 | ansible = "==7.0.0" 14 | # https://pypi.org/project/ansible-lint/#history 15 | ansible-lint = "==6.8.7" 16 | # https://pypi.org/project/yamllint/#history 17 | yamllint = "==1.28.0" 18 | 19 | [build-system] 20 | requires = ["poetry-core>=1.0.0"] 21 | build-backend = "poetry.core.masonry.api" 22 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "enabled": false, 3 | "extends": [ 4 | "config:base", 5 | "group:all", 6 | ":automergeBranch", 7 | ":automergeAll", 8 | ":semanticCommitTypeAll(chore)" 9 | ], 10 | "regexManagers": [ 11 | { 12 | "fileMatch": [ 13 | ".*" 14 | ], 15 | "matchStrings": [ 16 | "# renovate: depName=(?[^\\s]+)( datasource=(?[^\\s]+))?( registryUrl=(?\\S+))?\\n[^\\n]*?(?v?\\d+\\.\\d+\\.\\d+(-[\\S]+)?)" 17 | ], 18 | "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-tags{{/if}}", 19 | "versioningTemplate": "semver" 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /tasks/ca.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Create nebula CA cert 3 | ansible.builtin.command: 4 | cmd: >- 5 | {{ nebula_bin_dir }}/nebula-cert ca 6 | -name "{{ nebula_ca_name }}" 7 | -duration {{ nebula_ca_duration }} 8 | -out-key "{{ nebula_config_dir }}/ca.key" 9 | -out-crt "{{ nebula_config_dir }}/ca.crt" 10 | creates: "{{ nebula_config_dir }}/ca.key" 11 | 12 | - name: Write public keys of additional members 13 | delegate_to: "{{ nebula_ca_host }}" 14 | ansible.builtin.copy: 15 | dest: "{{ nebula_config_dir }}/{{ item.key }}.pub" 16 | content: "{{ item.value['public_key'] }}" 17 | mode: "0600" 18 | when: item.value['public_key'] is defined 19 | loop: "{{ nebula_additional_member_certs | dict2items }}" 20 | 21 | - name: Create nebula certs for additional members 22 | ansible.builtin.command: 23 | cmd: >- 24 | {{ nebula_bin_dir }}/nebula-cert sign 25 | -name "{{ item.key }}" 26 | -ip "{{ item.value.ip | mandatory }}" 27 | -groups "{{ (item.value.groups | default([])) | join(',') }}" 28 | -ca-key "{{ nebula_config_dir }}/ca.key" 29 | -ca-crt "{{ nebula_config_dir }}/ca.crt" 30 | {% if item.value['public_key'] is defined %} 31 | -in-pub "{{ nebula_config_dir }}/{{ item.key }}.pub" 32 | {% else %} 33 | -out-key "{{ nebula_config_dir }}/{{ item.key }}.key" 34 | {% endif %} 35 | -out-crt "{{ nebula_config_dir }}/{{ item.key }}.crt" 36 | creates: "{{ nebula_config_dir }}/{{ item.key }}.crt" 37 | loop: "{{ nebula_additional_member_certs | dict2items }}" 38 | 39 | - name: Archive additional member certs - without private key 40 | community.general.archive: 41 | # use .zip and not .tar.gz format to achieve idempotency: 42 | # https://github.com/ansible-collections/community.general/issues/1994 43 | format: zip 44 | path: 45 | - "{{ nebula_config_dir }}/ca.crt" 46 | - "{{ nebula_config_dir }}/{{ item.key }}.crt" 47 | dest: "{{ nebula_config_dir }}/{{ item.key }}.zip" 48 | mode: "0600" 49 | when: item.value['public_key'] is defined 50 | loop: "{{ nebula_additional_member_certs | dict2items }}" 51 | 52 | - name: Archive additional member certs - with private key 53 | community.general.archive: 54 | # use .zip and not .tar.gz format to achieve idempotency: 55 | # https://github.com/ansible-collections/community.general/issues/1994 56 | format: zip 57 | path: 58 | - "{{ nebula_config_dir }}/ca.crt" 59 | - "{{ nebula_config_dir }}/{{ item.key }}.key" 60 | - "{{ nebula_config_dir }}/{{ item.key }}.crt" 61 | dest: "{{ nebula_config_dir }}/{{ item.key }}.zip" 62 | mode: "0600" 63 | when: item.value['public_key'] is not defined 64 | loop: "{{ nebula_additional_member_certs | dict2items }}" 65 | 66 | - name: Download additional member certs 67 | ansible.builtin.fetch: 68 | src: "{{ nebula_config_dir }}/{{ item.key }}.zip" 69 | dest: "{{ nebula_additional_member_certs_download_dir }}/{{ item.key }}.zip" 70 | flat: true 71 | loop: "{{ nebula_additional_member_certs | dict2items }}" 72 | -------------------------------------------------------------------------------- /tasks/determine_ca.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Set initial nebula_ca_hosts fact 3 | ansible.builtin.set_fact: 4 | nebula_ca_hosts: [] 5 | 6 | - name: Find nebula_ca_hosts 7 | ansible.builtin.set_fact: 8 | nebula_ca_hosts: "{{ nebula_ca_hosts + [item] }}" 9 | when: hostvars[item]['nebula_is_ca'] | default(false) 10 | loop: "{{ ansible_play_hosts_all }}" 11 | 12 | - name: Assert that there is a single member in nebula_ca_hosts 13 | ansible.builtin.assert: 14 | that: nebula_ca_hosts | length == 1 15 | fail_msg: "Found {{ nebula_ca_hosts | length }} nebula_ca_hosts: [{{ nebula_ca_hosts | join(', ') }}]" 16 | success_msg: "Found single nebula_ca_host in play hosts" 17 | 18 | - name: Set nebula_ca_host fact 19 | ansible.builtin.set_fact: 20 | nebula_ca_host: "{{ nebula_ca_hosts[0] }}" 21 | -------------------------------------------------------------------------------- /tasks/determine_real_ip.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Get the public IP of the lighthose 3 | community.general.ipify_facts: 4 | 5 | - name: Set nebula_routable_ip fact 6 | ansible.builtin.set_fact: 7 | nebula_routable_ip: "{{ ansible_facts.ipify_public_ip }}" 8 | -------------------------------------------------------------------------------- /tasks/download.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Download nebula 3 | ansible.builtin.get_url: 4 | url: "{{ nebula_download_url }}" 5 | dest: "{{ nebula_download_dir }}/nebula.tar.gz" 6 | checksum: "{{ nebula_download_checksum | default(omit) }}" 7 | mode: "0644" 8 | 9 | - name: Unarchive nebula 10 | ansible.builtin.unarchive: 11 | src: "{{ nebula_download_dir }}/nebula.tar.gz" 12 | dest: "{{ nebula_bin_dir }}" 13 | remote_src: true 14 | 15 | - name: Create nebula config directory 16 | ansible.builtin.file: 17 | path: "{{ nebula_config_dir }}" 18 | state: directory 19 | mode: "0755" 20 | -------------------------------------------------------------------------------- /tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Import tasks - determine CA 3 | ansible.builtin.import_tasks: determine_ca.yml 4 | when: nebula_ca_host is not defined 5 | 6 | - name: Import tasks - determine real IP 7 | ansible.builtin.import_tasks: determine_real_ip.yml 8 | when: nebula_am_lighthouse and (nebula_routable_ip is not defined) 9 | 10 | - name: Import tasks - member preflight 11 | ansible.builtin.import_tasks: member_preflight.yml 12 | when: nebula_is_member 13 | 14 | - name: Import tasks - download 15 | ansible.builtin.import_tasks: download.yml 16 | 17 | - name: Import tasks - CA 18 | ansible.builtin.import_tasks: ca.yml 19 | when: nebula_is_ca 20 | 21 | - name: Import tasks - member 22 | ansible.builtin.import_tasks: member.yml 23 | when: nebula_is_member 24 | -------------------------------------------------------------------------------- /tasks/member.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Set CA host facts 3 | ansible.builtin.set_fact: 4 | ca_config_dir: "{{ hostvars[nebula_ca_host]['nebula_config_dir'] | default('/etc/nebula') }}" 5 | ca_bin_dir: "{{ hostvars[nebula_ca_host]['nebula_bin_dir'] | default('/usr/local/bin') }}" 6 | 7 | - name: Wait for CA cert to be generated on CA 8 | delegate_to: "{{ nebula_ca_host }}" 9 | ansible.builtin.wait_for: 10 | path: "{{ ca_config_dir }}/ca.key" 11 | timeout: "{{ nebula_ca_wait_timeout_secs }}" 12 | 13 | - name: Write public key of member 14 | delegate_to: "{{ nebula_ca_host }}" 15 | ansible.builtin.copy: 16 | dest: "{{ ca_config_dir }}/{{ nebula_name }}.pub" 17 | content: "{{ nebula_cert_public_key }}" 18 | mode: "0600" 19 | when: nebula_cert_public_key is defined 20 | 21 | - name: Create cert for member 22 | delegate_to: "{{ nebula_ca_host }}" 23 | ansible.builtin.command: 24 | cmd: >- 25 | {{ ca_bin_dir }}/nebula-cert sign 26 | -name "{{ nebula_name }}" 27 | -ip "{{ nebula_ip }}" 28 | -groups "{{ nebula_groups | join(',') }}" 29 | -ca-key "{{ ca_config_dir }}/ca.key" 30 | -ca-crt "{{ ca_config_dir }}/ca.crt" 31 | {% if nebula_cert_public_key is defined %} 32 | -in-pub "{{ ca_config_dir }}/{{ nebula_name }}.pub" 33 | {% else %} 34 | -out-key "{{ ca_config_dir }}/{{ nebula_name }}.key" 35 | {% endif %} 36 | -out-crt "{{ ca_config_dir }}/{{ nebula_name }}.crt" 37 | creates: "{{ ca_config_dir }}/{{ nebula_name }}.crt" 38 | 39 | - name: Slurp CA cert 40 | delegate_to: "{{ nebula_ca_host }}" 41 | ansible.builtin.slurp: 42 | src: "{{ ca_config_dir }}/ca.crt" 43 | register: ca_crt_slurped 44 | 45 | - name: Slurp client cert 46 | delegate_to: "{{ nebula_ca_host }}" 47 | ansible.builtin.slurp: 48 | src: "{{ ca_config_dir }}/{{ nebula_name }}.crt" 49 | register: client_crt_slurped 50 | 51 | - name: Slurp client key 52 | delegate_to: "{{ nebula_ca_host }}" 53 | ansible.builtin.slurp: 54 | src: "{{ ca_config_dir }}/{{ nebula_name }}.key" 55 | register: client_key_slurped 56 | when: nebula_cert_public_key is not defined 57 | 58 | - name: Save CA cert 59 | no_log: true 60 | ansible.builtin.copy: 61 | dest: "{{ nebula_config_dir }}/ca.crt" 62 | content: "{{ ca_crt_slurped.content | b64decode }}" 63 | mode: "0600" 64 | 65 | - name: Save client cert 66 | no_log: true 67 | ansible.builtin.copy: 68 | dest: "{{ nebula_config_dir }}/{{ nebula_name }}.crt" 69 | content: "{{ client_crt_slurped.content | b64decode }}" 70 | mode: "0600" 71 | 72 | - name: Save client key provided from the inventory 73 | no_log: true 74 | ansible.builtin.copy: 75 | dest: "{{ nebula_config_dir }}/{{ nebula_name }}.key" 76 | content: "{{ nebula_cert_private_key }}" 77 | mode: "0600" 78 | when: nebula_cert_private_key is defined 79 | 80 | - name: Save client key generated on CA host 81 | no_log: true 82 | ansible.builtin.copy: 83 | dest: "{{ nebula_config_dir }}/{{ nebula_name }}.key" 84 | content: "{{ client_key_slurped.content | b64decode }}" 85 | mode: "0600" 86 | when: nebula_cert_public_key is not defined 87 | 88 | - name: Create nebula config directory 89 | ansible.builtin.file: 90 | path: "{{ nebula_config_dir }}" 91 | state: directory 92 | mode: "0755" 93 | 94 | - name: Wait for nebula_routable_ip to be set on all lighthouses 95 | ansible.builtin.wait_for: 96 | timeout: 10 97 | when: hostvars[item]['nebula_am_lighthouse'] | default(false) 98 | until: hostvars[item]['nebula_routable_ip'] is defined 99 | retries: 12 100 | delay: 10 101 | loop: "{{ ansible_play_hosts_all }}" 102 | loop_control: 103 | loop_var: item 104 | 105 | - name: Template nebula config 106 | ansible.builtin.template: 107 | src: config.yml.j2 108 | dest: "{{ nebula_config_dir }}/config.yml" 109 | mode: "0644" 110 | notify: Restart nebula service 111 | 112 | - name: Template nebula systemd unit 113 | ansible.builtin.template: 114 | src: nebula.service.j2 115 | dest: "/etc/systemd/system/{{ nebula_service_name }}.service" 116 | mode: "0644" 117 | notify: Restart nebula service 118 | -------------------------------------------------------------------------------- /tasks/member_preflight.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Assert that init system is systemd 3 | ansible.builtin.assert: 4 | that: ansible_facts.service_mgr == 'systemd' 5 | fail_msg: "Init system is not systemd but {{ ansible_facts.service_mgr }}" 6 | success_msg: "Init system is systemd" 7 | 8 | - name: Assert that nebula_ca_host is defined 9 | ansible.builtin.assert: 10 | that: nebula_ca_host is defined 11 | fail_msg: >- 12 | Host is a member but 'nebula_ca_host' is not defined. 13 | Make sure that you have exactly 1 member with `nebula_is_ca: true` in the play. 14 | Alternatively, define `nebula_ca_host` variable in your inventory to 15 | have the ansible inventory name of the CA host 16 | success_msg: "Host is a member and variable 'nebula_ca_host' is defined" 17 | 18 | - name: Assert that nebula_ip is defined 19 | ansible.builtin.assert: 20 | that: nebula_ip 21 | fail_msg: "Host is a member but variable 'nebula_ip' is not defined" 22 | success_msg: "Host is a member and variable 'nebula_ip' is defined" 23 | 24 | - name: Assert that either both nebula_cert_private_key and nebula_cert_public_key are defined or none 25 | ansible.builtin.assert: 26 | that: >- 27 | (nebula_cert_private_key is defined and nebula_cert_public_key is defined) 28 | or 29 | (nebula_cert_private_key is not defined and nebula_cert_public_key is not defined) 30 | fail_msg: "Either both of nebula_cert_private_key and nebula_cert_public_key must be defined or none" 31 | -------------------------------------------------------------------------------- /templates/config.yml.j2: -------------------------------------------------------------------------------- 1 | #jinja2: trim_blocks: True, lstrip_blocks: True 2 | pki: 3 | ca: {{ nebula_config_dir }}/ca.crt 4 | cert: {{ nebula_config_dir }}/{{ nebula_name }}.crt 5 | key: {{ nebula_config_dir }}/{{ nebula_name }}.key 6 | {% if nebula_pki_disconnect_invalid is defined %} 7 | disconnect_invalid: {{ nebula_pki_disconnect_invalid }} 8 | {% endif %} 9 | 10 | static_host_map: 11 | {% for host in ansible_play_hosts_all %} 12 | {% if (hostvars[host]['nebula_am_lighthouse'] | default(false)) and (hostvars[host]['nebula_is_member'] | default(true)) %} 13 | "{{ hostvars[host]['nebula_ip'].split('/')[0] }}": ["{{ hostvars[host]['nebula_routable_ip'] | default('NONE') }}:{{ hostvars[host]['nebula_listen_port'] | default(4242) }}"] 14 | {% endif %} 15 | {% endfor %} 16 | 17 | lighthouse: 18 | am_lighthouse: {{ nebula_am_lighthouse }} 19 | interval: {{ nebula_lighthouse_interval }} 20 | hosts: 21 | {% if not nebula_am_lighthouse %} 22 | {% for host in ansible_play_hosts_all %} 23 | {% if (hostvars[host]['nebula_am_lighthouse'] | default(false)) and (hostvars[host]['nebula_is_member'] | default(true)) %} 24 | - {{ hostvars[host]['nebula_ip'].split('/')[0] }} 25 | {% endif %} 26 | {% endfor %} 27 | {% endif %} 28 | 29 | listen: 30 | host: {{ nebula_listen_host }} 31 | port: {{ nebula_listen_port }} 32 | {% if nebula_listen_batch is defined %} 33 | batch: {{ nebula_listen_batch }} 34 | {% endif %} 35 | {% if nebula_listen_read_buffer is defined %} 36 | read_buffer: {{ nebula_listen_read_buffer }} 37 | {% endif %} 38 | {% if nebula_listen_write_buffer is defined %} 39 | write_buffer: {{ nebula_listen_write_buffer }} 40 | {% endif %} 41 | 42 | punchy: 43 | punch: {{ nebula_punchy_punch }} 44 | {% if nebula_punchy_respond is defined %} 45 | respond: {{ nebula_punchy_respond }} 46 | {% endif %} 47 | {% if nebula_punchy_delay is defined %} 48 | delay: {{ nebula_punchy_delay }} 49 | {% endif %} 50 | 51 | {% if nebula_cipher is defined %} 52 | cipher: {{ nebula_cipher }} 53 | {% endif %} 54 | 55 | tun: 56 | disabled: {{ nebula_tun_disabled }} 57 | dev: {{ nebula_tun_dev }} 58 | drop_local_broadcast: {{ nebula_tun_drop_local_broadcast }} 59 | drop_multicast: {{ nebula_tun_drop_multicast }} 60 | tx_queue: {{ nebula_tun_tx_queue }} 61 | mtu: {{ nebula_tun_mtu }} 62 | routes: 63 | unsafe_routes: 64 | 65 | logging: 66 | level: {{ nebula_logging_level }} 67 | format: {{ nebula_logging_format }} 68 | disable_timestamp: {{ nebula_logging_disable_timestamp }} 69 | 70 | # Nebula security group configuration 71 | firewall: 72 | conntrack: 73 | tcp_timeout: {{ nebula_firewall_conntrack_tcp_timeout }} 74 | udp_timeout: {{ nebula_firewall_conntrack_udp_timeout }} 75 | default_timeout: {{ nebula_firewall_conntrack_default_timeout }} 76 | max_connections: {{ nebula_firewall_conntrack_max_connections }} 77 | outbound: 78 | {{ nebula_firewall_outbound | to_nice_yaml(indent=2) | indent(width=4) }} 79 | inbound: 80 | {{ nebula_firewall_inbound | to_nice_yaml(indent=2) | indent(width=4) }} 81 | -------------------------------------------------------------------------------- /templates/nebula.service.j2: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description={{ nebula_service_name }} 3 | Wants=basic.target 4 | After=basic.target network.target 5 | 6 | [Service] 7 | SyslogIdentifier={{ nebula_service_name }} 8 | ExecReload=/bin/kill -HUP $MAINPID 9 | ExecStart={{ nebula_bin_dir }}/nebula -config {{ nebula_config_dir }}/config.yml 10 | Restart=always 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | -------------------------------------------------------------------------------- /tests/ansible.cfg: -------------------------------------------------------------------------------- 1 | [defaults] 2 | host_key_checking = False 3 | retry_files_enabled = False 4 | nocows = 1 5 | bin_ansible_callbacks = True 6 | stdout_callback = yaml 7 | display_skipped_hosts = False 8 | timeout = 3 9 | callbacks_enabled = profile_roles 10 | roles_path = ../../ 11 | 12 | [paramiko_connection] 13 | record_host_keys = False 14 | 15 | [ssh_connection] 16 | ssh_args = -o ControlMaster=yes -o ControlPersist=1200s -o BatchMode=yes 17 | pipelining = True 18 | control_path = /tmp/ansible-ssh-%%h-%%p-%%r 19 | retries = 10 20 | -------------------------------------------------------------------------------- /tests/inventories/cloud/.gitignore: -------------------------------------------------------------------------------- 1 | hosts 2 | -------------------------------------------------------------------------------- /tests/inventories/cloud/host_vars/ansible-role-nebula-1.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nebula_ip: 172.20.0.1/24 3 | nebula_is_ca: true 4 | 5 | nebula_additional_member_certs: 6 | additional-client-1: 7 | ip: 172.20.0.51/24 8 | groups: 9 | - group-1 10 | - group-2 11 | additional-client-2: 12 | ip: 172.20.0.52/24 13 | groups: [] 14 | additional-client-3: 15 | ip: 172.20.0.53/24 16 | public_key: | 17 | -----BEGIN NEBULA X25519 PUBLIC KEY----- 18 | YhJpsZYB81uBCXc+eNPp6pdsrUFNOeycU9XvMPK0lyU= 19 | -----END NEBULA X25519 PUBLIC KEY----- 20 | groups: 21 | - aaa 22 | - bbb 23 | - ccc 24 | -------------------------------------------------------------------------------- /tests/inventories/cloud/host_vars/ansible-role-nebula-2.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nebula_ip: 172.20.0.2/24 3 | nebula_am_lighthouse: true 4 | -------------------------------------------------------------------------------- /tests/inventories/cloud/host_vars/ansible-role-nebula-3.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nebula_ip: 172.20.0.3/24 3 | -------------------------------------------------------------------------------- /tests/inventories/cloud/host_vars/ansible-role-nebula-4.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nebula_ip: 172.20.0.4/24 3 | nebula_am_lighthouse: true 4 | 5 | # NOTE: Never do this anywhere other than tests! 6 | nebula_cert_private_key: | 7 | -----BEGIN NEBULA X25519 PRIVATE KEY----- 8 | aJH4X+9oP4VJTx4cueOcmIu8tFOn4OV9nr4h6nd1gE0= 9 | -----END NEBULA X25519 PRIVATE KEY----- 10 | 11 | nebula_cert_public_key: | 12 | -----BEGIN NEBULA X25519 PUBLIC KEY----- 13 | iYH/ccc9aYK0I/ymBEBCjXC5B85X7fzxTVh8gkfssUo= 14 | -----END NEBULA X25519 PUBLIC KEY----- 15 | -------------------------------------------------------------------------------- /tests/inventories/cloud/host_vars/ansible-role-nebula-5.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nebula_ip: 172.20.0.5/24 3 | -------------------------------------------------------------------------------- /tests/inventories/local/host_vars/local.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nebula_ip: 172.20.0.1/24 3 | nebula_is_ca: true 4 | 5 | nebula_additional_member_certs: 6 | additional-client-1: 7 | ip: 172.20.0.51/24 8 | groups: 9 | - group-1 10 | - group-2 11 | additional-client-2: 12 | ip: 172.20.0.52/24 13 | groups: [] 14 | additional-client-3: 15 | ip: 172.20.0.53/24 16 | public_key: | 17 | -----BEGIN NEBULA X25519 PUBLIC KEY----- 18 | YhJpsZYB81uBCXc+eNPp6pdsrUFNOeycU9XvMPK0lyU= 19 | -----END NEBULA X25519 PUBLIC KEY----- 20 | groups: 21 | - aaa 22 | - bbb 23 | - ccc 24 | -------------------------------------------------------------------------------- /tests/inventories/local/hosts: -------------------------------------------------------------------------------- 1 | local ansible_connection=local 2 | 3 | [nebula] 4 | local 5 | -------------------------------------------------------------------------------- /tests/terraform/.gitignore: -------------------------------------------------------------------------------- 1 | .gcp-serviceaccount.json 2 | -------------------------------------------------------------------------------- /tests/terraform/.terraform.lock.hcl: -------------------------------------------------------------------------------- 1 | # This file is maintained automatically by "terraform init". 2 | # Manual edits may be lost in future updates. 3 | 4 | provider "registry.terraform.io/hashicorp/google" { 5 | version = "4.27.0" 6 | constraints = "4.27.0" 7 | hashes = [ 8 | "h1:6cSnbwlHbLHaQZb116WfspEfhL5Y+f2n0jypjPgK4iA=", 9 | "zh:0ec41ae6810de7e1dbf8c8926523fb2cb6947f62932152c82c2c52ca2d9880be", 10 | "zh:28349b499a631e15a02eb9603c659ec894cd50149be6b90c3b35b11980a234a2", 11 | "zh:2fcbb1c4d3e6512a18330eb8141b2518acac2358fb7c05c374d32a6dcc435916", 12 | "zh:4535e448bd794743fe14e8f9d1e640b28a0689b44341ea8fd5d9b229038693c8", 13 | "zh:545ac27a491cb054ca4b7fbd83999a0b48e445036c06cb470c78afb9dcb5fb6f", 14 | "zh:60df2a43c3791e1c919cdf9f1388dcf73cd4c9de4e266539b2c489eb8be9ec09", 15 | "zh:756ea83635bc607e935cd0b9adaa3fc0f9528038766e1dba1f79d74c42556ffb", 16 | "zh:7bf6c65359cc5fef8757787abe5f5f8ca786ce4de3045872226b54a7b51a5e29", 17 | "zh:bbb0f05e4f080aae755752e68ca8b03240602d7af254a86af1e392c0dd5776b5", 18 | "zh:c663bc5b18bc5015ccf763f6f6baea26319459e1e757af34a250b27cf689b80a", 19 | "zh:da23872670199d3ce5448c1a75bf4ac9fbeafb92bad84a3e977de6c0a9dced08", 20 | "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", 21 | ] 22 | } 23 | 24 | provider "registry.terraform.io/hashicorp/local" { 25 | version = "2.2.3" 26 | hashes = [ 27 | "h1:FvRIEgCmAezgZUqb2F+PZ9WnSSnR5zbEM2ZI+GLmbMk=", 28 | "zh:04f0978bb3e052707b8e82e46780c371ac1c66b689b4a23bbc2f58865ab7d5c0", 29 | "zh:6484f1b3e9e3771eb7cc8e8bab8b35f939a55d550b3f4fb2ab141a24269ee6aa", 30 | "zh:78a56d59a013cb0f7eb1c92815d6eb5cf07f8b5f0ae20b96d049e73db915b238", 31 | "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", 32 | "zh:8aa9950f4c4db37239bcb62e19910c49e47043f6c8587e5b0396619923657797", 33 | "zh:996beea85f9084a725ff0e6473a4594deb5266727c5f56e9c1c7c62ded6addbb", 34 | "zh:9a7ef7a21f48fabfd145b2e2a4240ca57517ad155017e86a30860d7c0c109de3", 35 | "zh:a63e70ac052aa25120113bcddd50c1f3cfe61f681a93a50cea5595a4b2cc3e1c", 36 | "zh:a6e8d46f94108e049ad85dbed60354236dc0b9b5ec8eabe01c4580280a43d3b8", 37 | "zh:bb112ce7efbfcfa0e65ed97fa245ef348e0fd5bfa5a7e4ab2091a9bd469f0a9e", 38 | "zh:d7bec0da5c094c6955efed100f3fe22fca8866859f87c025be1760feb174d6d9", 39 | "zh:fb9f271b72094d07cef8154cd3d50e9aa818a0ea39130bc193132ad7b23076fd", 40 | ] 41 | } 42 | 43 | provider "registry.terraform.io/hashicorp/random" { 44 | version = "3.3.2" 45 | hashes = [ 46 | "h1:YChjos7Hrvr2KgTc9GzQ+de/QE2VLAeRJgxFemnCltU=", 47 | "zh:038293aebfede983e45ee55c328e3fde82ae2e5719c9bd233c324cfacc437f9c", 48 | "zh:07eaeab03a723d83ac1cc218f3a59fceb7bbf301b38e89a26807d1c93c81cef8", 49 | "zh:427611a4ce9d856b1c73bea986d841a969e4c2799c8ac7c18798d0cc42b78d32", 50 | "zh:49718d2da653c06a70ba81fd055e2b99dfd52dcb86820a6aeea620df22cd3b30", 51 | "zh:5574828d90b19ab762604c6306337e6cd430e65868e13ef6ddb4e25ddb9ad4c0", 52 | "zh:7222e16f7833199dabf1bc5401c56d708ec052b2a5870988bc89ff85b68a5388", 53 | "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", 54 | "zh:b1b2d7d934784d2aee98b0f8f07a8ccfc0410de63493ae2bf2222c165becf938", 55 | "zh:b8f85b6a20bd264fcd0814866f415f0a368d1123cd7879c8ebbf905d370babc8", 56 | "zh:c3813133acc02bbebddf046d9942e8ba5c35fc99191e3eb057957dafc2929912", 57 | "zh:e7a41dbc919d1de800689a81c240c27eec6b9395564630764ebb323ea82ac8a9", 58 | "zh:ee6d23208449a8eaa6c4f203e33f5176fa795b4b9ecf32903dffe6e2574732c2", 59 | ] 60 | } 61 | -------------------------------------------------------------------------------- /tests/terraform/ansible_inventory.tpl: -------------------------------------------------------------------------------- 1 | %{ for vm_index, vm in vms ~} 2 | ${identifier}-${vm_index + 1} ansible_port=22 ansible_user=${user} ansible_host=${vm.network_interface[0].access_config[0].nat_ip} 3 | %{ endfor ~} 4 | 5 | %{ for tag_index, tag in tags ~} 6 | [${tag}] 7 | %{ for vm_index, vm in vms ~} 8 | %{ if contains(vm.tags, tag) }${identifier}-${vm_index + 1}${"\n"}%{ endif ~} 9 | %{ endfor ~} 10 | %{ if (tag_index < length(tags) - 1) }${"\n"}%{ endif ~} 11 | %{ endfor ~} 12 | -------------------------------------------------------------------------------- /tests/terraform/main.tf: -------------------------------------------------------------------------------- 1 | terraform { 2 | required_providers { 3 | google = { 4 | source = "hashicorp/google" 5 | # renovate: depName=hashicorp/terraform-provider-google 6 | version = "= 4.27.0" 7 | } 8 | } 9 | } 10 | 11 | provider "google" { 12 | project = "playground-54321" 13 | region = "us-central1" 14 | zone = "us-central1-f" 15 | } 16 | 17 | 18 | data "google_compute_network" "default" { 19 | name = "default" 20 | } 21 | 22 | resource "random_id" "id" { 23 | # hex does bytes X 2, so the actual id will be 4 chars long 24 | byte_length = 2 25 | } 26 | 27 | resource "google_compute_firewall" "allow_nebula" { 28 | name = "${var.identifier}-allow-nebula" 29 | network = data.google_compute_network.default.name 30 | allow { 31 | protocol = "udp" 32 | ports = ["4242"] 33 | } 34 | target_tags = var.common_tags 35 | source_ranges = ["0.0.0.0/0"] 36 | } 37 | 38 | resource "google_compute_firewall" "allow_ssh" { 39 | name = "${var.identifier}-allow-ssh" 40 | network = data.google_compute_network.default.name 41 | allow { 42 | protocol = "tcp" 43 | ports = ["22"] 44 | } 45 | target_tags = var.common_tags 46 | source_ranges = ["0.0.0.0/0"] 47 | } 48 | 49 | resource "google_compute_instance" "vm" { 50 | count = var.num_vms 51 | 52 | name = "${var.identifier}-${random_id.id.hex}-${count.index + 1}" 53 | machine_type = var.machine_type 54 | 55 | boot_disk { 56 | initialize_params { 57 | image = var.image 58 | } 59 | } 60 | 61 | network_interface { 62 | network = data.google_compute_network.default.name 63 | access_config {} 64 | } 65 | 66 | metadata = { 67 | ssh-keys = "${var.vm_user}:${var.vm_user_ssh_public_key}" 68 | } 69 | 70 | tags = concat(var.common_tags, lookup(var.vm_tags, "${var.identifier}-${count.index + 1}", [])) 71 | } 72 | 73 | resource "local_file" "ansible_inventory" { 74 | content = templatefile("ansible_inventory.tpl", { 75 | vms = google_compute_instance.vm.* 76 | tags = sort(distinct(flatten(google_compute_instance.vm.*.tags))) 77 | identifier = var.identifier 78 | user = var.vm_user 79 | } 80 | ) 81 | filename = "../inventories/cloud/hosts" 82 | } 83 | -------------------------------------------------------------------------------- /tests/terraform/variables.tf: -------------------------------------------------------------------------------- 1 | variable "image" { 2 | type = string 3 | default = "ubuntu-os-cloud/ubuntu-2204-lts" 4 | } 5 | 6 | variable "machine_type" { 7 | type = string 8 | default = "e2-micro" 9 | } 10 | 11 | variable "vm_user" { 12 | type = string 13 | default = "ansible" 14 | } 15 | 16 | variable "vm_user_ssh_public_key" { 17 | type = string 18 | default = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEMrmzi4x1ueVITQXq+Ro4D08BTqe/WYvK4Dw99HMTl/" 19 | } 20 | 21 | variable "identifier" { 22 | type = string 23 | default = "ansible-role-nebula" 24 | } 25 | 26 | variable "num_vms" { 27 | type = number 28 | default = 5 29 | } 30 | 31 | variable "common_tags" { 32 | type = list(string) 33 | default = ["nebula"] 34 | } 35 | 36 | variable "vm_tags" { 37 | type = map(list(string)) 38 | default = {} 39 | } 40 | -------------------------------------------------------------------------------- /tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Assert that nebula hosts are not empty 3 | hosts: localhost 4 | any_errors_fatal: true 5 | tasks: 6 | - name: Assert that there is at least 1 host 7 | ansible.builtin.assert: 8 | that: (groups['nebula'] | default([])) | length > 0 9 | fail_msg: No hosts found 10 | success_msg: "There is {{ (groups['nebula'] | default([])) | length }} host(s) in nebula group" 11 | 12 | - name: Setup Nebula 13 | hosts: nebula 14 | strategy: free 15 | become: true 16 | roles: 17 | - role: ansible-role-nebula 18 | 19 | - name: Test Nebula 20 | hosts: nebula 21 | strategy: free 22 | become: true 23 | tasks: 24 | - name: Ping all nebula hosts 25 | ansible.builtin.command: "ping -W 1 -c 3 {{ hostvars[item]['nebula_ip'].split('/')[0] }}" 26 | changed_when: false 27 | register: ping_result 28 | until: ping_result is succeeded 29 | retries: 10 30 | delay: 10 31 | loop: "{{ ansible_play_hosts_all }}" 32 | --------------------------------------------------------------------------------