chore: initial commit
This commit is contained in:
commit
191b4f5bd1
8
.ansible-lint
Normal file
8
.ansible-lint
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
warn_list:
|
||||||
|
- experimental # all rules tagged as experimental
|
||||||
|
- yaml # violations reported by yamllint
|
||||||
|
- meta-no-info
|
||||||
|
|
||||||
|
skip_list:
|
||||||
|
- jinja[spacing] # Rule that looks inside jinja2 templates.
|
7
.cz.toml
Normal file
7
.cz.toml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[tool.commitizen]
|
||||||
|
name = "cz_conventional_commits"
|
||||||
|
version_provider = "scm"
|
||||||
|
version_files = ["galaxy.yml:^version"]
|
||||||
|
update_changelog_on_bump = true
|
||||||
|
major_version_zero = true
|
||||||
|
tag_format = "v$version"
|
0
.gitea/workflows/.gitkeep
Normal file
0
.gitea/workflows/.gitkeep
Normal file
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# ignore molecule/testinfra pycache
|
||||||
|
**/__pycache__
|
||||||
|
.vscode
|
||||||
|
roles/ednz_cloud.*
|
||||||
|
vault_config.yml
|
||||||
|
consul_config.yml
|
||||||
|
**/certificates/**
|
||||||
|
**/secrets/credentials.yml
|
||||||
|
**/secrets/credentials.decrypt.yml
|
||||||
|
**/secrets/vault.yml
|
||||||
|
**/.ansible-vault
|
20
.pre-commit-config.yaml
Normal file
20
.pre-commit-config.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v4.5.0
|
||||||
|
hooks:
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- repo: https://github.com/adrienverge/yamllint.git
|
||||||
|
rev: v1.35.1
|
||||||
|
hooks:
|
||||||
|
- id: yamllint
|
||||||
|
args: [-c=./.yamllint]
|
||||||
|
- repo: https://github.com/commitizen-tools/commitizen
|
||||||
|
rev: v3.24.0
|
||||||
|
hooks:
|
||||||
|
- id: commitizen
|
||||||
|
- id: commitizen-branch
|
||||||
|
stages:
|
||||||
|
- post-commit
|
||||||
|
- push
|
40
.yamllint
Normal file
40
.yamllint
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
# Based on ansible-lint config
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
braces:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
brackets:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
colons:
|
||||||
|
max-spaces-after: -1
|
||||||
|
level: error
|
||||||
|
commas:
|
||||||
|
max-spaces-after: -1
|
||||||
|
level: error
|
||||||
|
comments: enable
|
||||||
|
comments-indentation: disable
|
||||||
|
document-start: enable
|
||||||
|
empty-lines:
|
||||||
|
max: 3
|
||||||
|
level: error
|
||||||
|
hyphens:
|
||||||
|
level: error
|
||||||
|
indentation: enable
|
||||||
|
key-duplicates: enable
|
||||||
|
line-length:
|
||||||
|
max: 80
|
||||||
|
level: warning
|
||||||
|
new-line-at-end-of-file: enable
|
||||||
|
new-lines:
|
||||||
|
type: unix
|
||||||
|
trailing-spaces: enable
|
||||||
|
truthy:
|
||||||
|
allowed-values:
|
||||||
|
- 'true'
|
||||||
|
- 'false'
|
||||||
|
- 'yes'
|
||||||
|
- 'no'
|
20
LICENSE
Normal file
20
LICENSE
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2023 Bertrand Lanson
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
4
README.md
Normal file
4
README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# 🚀 Ansible Infomaniak Collection
|
||||||
|
|
||||||
|
![Ansible Badge](https://img.shields.io/badge/Ansible-E00?logo=ansible&logoColor=fff&style=for-the-badge)
|
||||||
|
![Infomaniak Badge](https://img.shields.io/badge/Infomaniak-0098FF?logo=infomaniak&logoColor=fff&style=for-the-badge)
|
0
docs/.gitkeep
Normal file
0
docs/.gitkeep
Normal file
32
galaxy.yml
Normal file
32
galaxy.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
namespace: ednz_cloud
|
||||||
|
name: hashistack
|
||||||
|
version: 0.7.0
|
||||||
|
readme: README.md
|
||||||
|
authors:
|
||||||
|
- Bertrand Lanson <bertrand.lanson@protonmail.com>
|
||||||
|
description: your collection description
|
||||||
|
license: ["MIT"]
|
||||||
|
license_file: "LICENSE"
|
||||||
|
|
||||||
|
# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
|
||||||
|
# requirements as 'namespace' and 'name'
|
||||||
|
tags: ["tools"]
|
||||||
|
dependencies: {}
|
||||||
|
repository: https://git.ednz.fr/ansible-collections/hashistack
|
||||||
|
documentation: http://docs.example.com
|
||||||
|
homepage: http://example.com
|
||||||
|
issues: http://example.com/issue/tracker
|
||||||
|
# A list of file glob-like patterns used to filter any files or directories that should not be included in the build
|
||||||
|
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
|
||||||
|
# uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry',
|
||||||
|
# and '.git' are always filtered. Mutually exclusive with 'manifest'
|
||||||
|
build_ignore:
|
||||||
|
- assets**
|
||||||
|
- .gitea**
|
||||||
|
# A dict controlling use of manifest directives used in building the collection artifact. The key 'directives' is a
|
||||||
|
# list of MANIFEST.in style
|
||||||
|
# L(directives,https://packaging.python.org/en/latest/guides/using-manifest-in/#manifest-in-commands). The key
|
||||||
|
# 'omit_default_directives' is a boolean that controls whether the default directives are used. Mutually exclusive
|
||||||
|
# with 'build_ignore'
|
||||||
|
# manifest: null
|
0
meta/.gitkeep
Normal file
0
meta/.gitkeep
Normal file
0
molecule/.gitkeep
Normal file
0
molecule/.gitkeep
Normal file
0
playbooks/.gitkeep
Normal file
0
playbooks/.gitkeep
Normal file
0
plugins/.gitkeep
Normal file
0
plugins/.gitkeep
Normal file
0
roles/.gitkeep
Normal file
0
roles/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user