forked from ansible/product-demos
-
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.
- Loading branch information
Showing
231 changed files
with
13,358 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
collections/ansible_collections/redhat_cop.controller_configuration-2.3.1.info/GALAXY.yml
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,8 @@ | ||
download_url: https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/redhat_cop-controller_configuration-2.3.1.tar.gz | ||
format_version: 1.0.0 | ||
name: controller_configuration | ||
namespace: redhat_cop | ||
server: https://galaxy.ansible.com/api/ | ||
signatures: [] | ||
version: 2.3.1 | ||
version_url: /api/v3/plugin/ansible/content/published/collections/index/redhat_cop/controller_configuration/versions/2.3.1/ |
34 changes: 34 additions & 0 deletions
34
collections/ansible_collections/redhat_cop/controller_configuration/.ansible-lint
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,34 @@ | ||
--- | ||
# The exclude_paths does not appear to be working in pre-commit | ||
# this issue describes similar behavior but suggested fix doesn't work | ||
# https://github.com/ansible/ansible-lint/issues/371 | ||
# exclude_paths: | ||
# - roles/master_role_example/ | ||
exclude_paths: | ||
- '.github/' | ||
- 'roles/master_role_example/' | ||
- 'changelogs/' | ||
parseable: true | ||
use_default_rules: true | ||
# https://github.com/ansible/ansible-lint/issues/808 | ||
# with verbosity set to 1, its dumping 'unknown file type messages' | ||
# verbosity: 1 | ||
skip_list: | ||
# Skipping fqcn[action] because this collection supports using either the awx.awx or ansible.controller collection | ||
# so a FQCN cannot be used in module names | ||
- fqcn[action] | ||
- fqcn[keyword] | ||
- meta-runtime # This collection with the appropriate awx.awx or ansible.controller still works with older ansible. | ||
- role-name[path] | ||
- sanity[cannot-ignore] # We're only ignoring sanity rules when we have to | ||
kinds: | ||
- playbooks: "**/examples/templates/*.{yml,yaml}" | ||
- playbooks: "**/examples/*.{yml,yaml}" | ||
- playbooks: "**/examples/automatetheautomation/*.{yml,yaml}" | ||
- tasks: "**/examples/tasks/*.yml" | ||
- vars: "**/examples/automatetheautomation/orgs_vars/**/*.yml" | ||
- vars: "**/examples/configs/*.yml" | ||
- vars: "**/examples/configs_export_model/*.yml" | ||
- vars: "**/examples/vars/*.yml" | ||
- vars: "**/roles/**/tests/configs/*.yml" | ||
... |
2 changes: 2 additions & 0 deletions
2
collections/ansible_collections/redhat_cop/controller_configuration/.black.cfg
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,2 @@ | ||
[tool.black] | ||
line_length=160 |
4 changes: 4 additions & 0 deletions
4
collections/ansible_collections/redhat_cop/controller_configuration/.flake8
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,4 @@ | ||
[flake8] | ||
max-line-length=160 | ||
ignore=E402 | ||
extend-ignore = E203, W503 |
2 changes: 2 additions & 0 deletions
2
collections/ansible_collections/redhat_cop/controller_configuration/.gitattributes
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,2 @@ | ||
*.yml linguist-detectable | ||
*.yaml linguist-detectable |
8 changes: 8 additions & 0 deletions
8
collections/ansible_collections/redhat_cop/controller_configuration/.gitignore
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,8 @@ | ||
collections/* | ||
!collections/requirements.yml | ||
galaxy.yml | ||
*.tar.gz | ||
*.pyc | ||
id_rsa* | ||
test | ||
tests/output |
21 changes: 21 additions & 0 deletions
21
collections/ansible_collections/redhat_cop/controller_configuration/.markdownlint.yml
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,21 @@ | ||
--- | ||
default: true | ||
|
||
# MD003/heading-style/header-style - Heading style | ||
# This will ensure that the heading format is consistent across all markdown files | ||
MD003: | ||
style: "atx" | ||
|
||
# MD013/line-length - Line length | ||
# Setting to false to match the yamllint setting | ||
MD013: false | ||
|
||
# MD046/code-block-style - Code block style | ||
# This will ensure that code block format is consistent across all markdown files | ||
MD0046: | ||
style: fenced | ||
|
||
MD033: | ||
allowed_elements: | ||
- "br" | ||
... |
10 changes: 10 additions & 0 deletions
10
collections/ansible_collections/redhat_cop/controller_configuration/.mlc_config.json
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,10 @@ | ||
{ | ||
"httpHeaders": [ | ||
{ | ||
"urls": ["https://github.com/", "https://guides.github.com/", "https://help.github.com/", "https://docs.github.com/"], | ||
"headers": { | ||
"Accept-Encoding": "zstd, br, gzip, deflate" | ||
} | ||
} | ||
] | ||
} |
51 changes: 51 additions & 0 deletions
51
collections/ansible_collections/redhat_cop/controller_configuration/.pre-commit-config.yaml
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,51 @@ | ||
--- | ||
repos: | ||
- repo: 'https://github.com/pre-commit/pre-commit-hooks' | ||
rev: v4.4.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
# Disabling the separate yamllint as it can now be done by ansible-lint with our config moved to TLD. | ||
# - repo: 'https://github.com/adrienverge/yamllint.git' | ||
# rev: v1.26.3 | ||
# hooks: | ||
# - id: yamllint | ||
# entry: yamllint -c .github/workflow-config/.yamllint.yml | ||
# types: | ||
# - yaml | ||
- repo: 'https://github.com/ansible-community/ansible-lint.git' | ||
rev: v6.14.2 | ||
hooks: | ||
# see discussions here about what arguments are used, and behavior | ||
# https://github.com/ansible/ansible-lint/issues/649 | ||
# Roles will trigger an "unknown file type" | ||
# https://github.com/ansible/ansible-lint/issues/808 | ||
- id: ansible-lint | ||
pass_filenames: false | ||
always_run: true | ||
entry: "ansible-lint" | ||
args: | ||
- "--profile=production" | ||
additional_dependencies: | ||
- "ansible-core>=2.13" | ||
- "yamllint>=1.26,<2.0" | ||
- repo: https://github.com/DavidAnson/markdownlint-cli2 | ||
rev: v0.6.0 | ||
hooks: | ||
- id: markdownlint-cli2 | ||
- repo: https://github.com/ambv/black | ||
rev: 23.1.0 | ||
hooks: | ||
- id: black | ||
name: black | ||
entry: black | ||
args: [--config=.black.cfg, --check, --diff] | ||
types: [python] | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
name: flake8 | ||
entry: flake8 | ||
types: [python] | ||
... |
Oops, something went wrong.