forked from TheRojam/ansible-yunohost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '33-ci-add-more-lint' into 'main'
Resolve "ci: add more lint" Closes #33 See merge request lydra/yunohost/ansible-yunohost!21
- Loading branch information
Showing
7 changed files
with
443 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Vault password file | ||
.vault_pass | ||
|
||
# Ansible | ||
.ansible/ | ||
*.retry | ||
.roles_requirements/ | ||
.lint_rules/ | ||
|
||
# Terraform | ||
.terraform/ | ||
terraform.tfstate.d/ | ||
*.tfstate | ||
*.tfstate.backup | ||
terraform.tfvars | ||
env.vault | ||
env.d/ | ||
terraform/create_state_bucket/terraform.tf | ||
|
||
# Logs | ||
*.log | ||
*.history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# https://github.com/ansible/galaxy/blob/devel/galaxy/importer/linters/yamllint.yaml | ||
# 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: disable | ||
comments-indentation: disable | ||
document-start: disable | ||
empty-lines: {max: 3, level: error} | ||
hyphens: {level: error} | ||
indentation: disable | ||
key-duplicates: enable | ||
line-length: disable | ||
new-line-at-end-of-file: disable | ||
new-lines: {type: unix} | ||
trailing-spaces: disable | ||
truthy: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
ansible = "==4" | ||
ansible-lint = "==5.4.0" | ||
yamllint = "==1.26" | ||
|
||
[requires] | ||
python_version = "3.8" | ||
|
||
[dev-packages] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,3 @@ | |
loop_control: | ||
loop_var: ynh_app | ||
when: ynh_app.label not in ynh_installed_apps.values() | ||
|