Skip to content

Commit

Permalink
Merge pull request #326 from fedejaure/fix-internal-tools
Browse files Browse the repository at this point in the history
Fix internal tools
  • Loading branch information
fedejaure authored Nov 11, 2023
2 parents 97239e6 + e93449b commit 5c3106a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 23 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,18 @@ To display available tasks run:
Available tasks:
ansible-lint Run ansible linter.
clean Run all clean sub-tasks.
clean-python Clean up python file artifacts.
flake8 Run flake8.
format Format code.
galaxy-install Install ansible-galaxy requirements.
hooks Run pre-commit hooks.
install-hooks Install pre-commit hooks.
lint Run all linting.
playbook Runs Ansible playbooks, executing the defined tasks on the targeted hosts.
mypy Run mypy.
playbook Run Ansible playbooks, executing the defined tasks on the targeted hosts.
safety Run safety.
tests Run ansible molecule test.
version Bump version.
yamllint Run yamllint, a linter for YAML files.
```
Expand Down
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
requires_ansible: ">=2.12.2"
requires_ansible: ">=2.13.2"
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ safety = "^2.4.0b1"
mypy = "^1.7"
bump2version = "^1.0.1"
yamllint = "^1.33.0"
ansible-lint = {version = "^6.18.0", markers = "platform_system != 'Windows'"}
ansible-lint = {version = "^6.22.0", markers = "platform_system != 'Windows'"}
molecule = "^5.1.0"
molecule-plugins = {extras = ["docker"], version = "^23.5.0"}

Expand Down
3 changes: 2 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
MOLECULE_DIR = ROOT_DIR / "molecule"
ROLES_DIR = ROOT_DIR / "roles"
PLAYBOOKS_DIR = ROOT_DIR / "playbooks"
ANSIBLE_TARGETS = [MOLECULE_DIR, PLAYBOOKS_DIR]
META_DIR = ROOT_DIR / "meta"
ANSIBLE_TARGETS = [MOLECULE_DIR, PLAYBOOKS_DIR, META_DIR]
ANSIBLE_TARGETS_STR = " ".join([str(t) for t in ANSIBLE_TARGETS])

SAFETY_IGNORE = [42923, 54229, 54230]
Expand Down

0 comments on commit 5c3106a

Please sign in to comment.