diff --git a/.ansible-lint b/.ansible-lint new file mode 100644 index 0000000..1e22179 --- /dev/null +++ b/.ansible-lint @@ -0,0 +1,14 @@ +--- +# .ansible-lint + +# Exclude these files from the linter +exclude_paths: + - .git* + - plugins/ + +# Rules that we feel should not be errors but warnings +warn_list: + - yaml[line-length] + - var-naming[no-role-prefix] + - meta-runtime[unsupported-version] + - run-once[task] diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 7d10c2e..a24233b 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -12,4 +12,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run ansible-lint - uses: ansible/ansible-lint@main # or version tag instead of 'main' + uses: ansible/ansible-lint@v24.9.2 # or version tag instead of 'main' diff --git a/.github/workflows/updateChangelog.yml b/.github/workflows/updateChangelog.yml index 3ad3425..2a7de01 100644 --- a/.github/workflows/updateChangelog.yml +++ b/.github/workflows/updateChangelog.yml @@ -16,7 +16,7 @@ jobs: - name: setup python uses: actions/setup-python@v5 with: - python-version: 3.8 #install the python needed + python-version: 3.8 # install the python needed - name: Install dependencies run: | if [ -f requirements.txt ]; then pip install -r requirements.txt; fi diff --git a/README.md b/README.md index ae69939..aae2b71 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ encounter any problems using this collection, please open an issue For additional details please consult the Itential Community Guide found [here](CONTRIBUTING.md) - ## Code of Conduct This project is managed by the Itential community and sponsered by Itential and diff --git a/galaxy.yml b/galaxy.yml index 8a2e50d..55d55eb 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -46,7 +46,7 @@ tags: # Collections that this collection requires to be installed for it to be usable. The key of the dict is the # collection label 'namespace.name'. The value is a version range -# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version +# (specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version # range specifiers can be set and are separated by ',' dependencies: {} @@ -57,7 +57,7 @@ repository: https://github.com/itential/itential.core documentation: https://github.com/itential/itential.core # The URL to the homepage of the collection/project -homepage: https://www.itential.com +homepage: https://github.com/itential/itential.core # The URL to the collection issue tracker issues: https://github.com/itential/itential.core/issues @@ -66,7 +66,18 @@ issues: https://github.com/itential/itential.core/issues # 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: [] +build_ignore: + - .gitignore + - .gitlab-ci.yml + - ansible.cfg + - '*.log' + - '*.bin' + - '*.whl' + - '*.tgz' + - '*.gz' + - '*.pem' + - '*.cert' + - scripts # A dict controlling use of manifest directives used in building the collection artifact. The key 'directives' is a # list of MANIFEST.in style