Skip to content

Commit

Permalink
Fix lint execution on osx and ignore generate roles files (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianonicolai authored Nov 14, 2023
1 parent 0244719 commit df8efe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,6 @@ dmypy.json
# Pyre type checker
.pyre/
src/molecule_plugins/_version.py

# Ignore generated files
test/roles
2 changes: 1 addition & 1 deletion tools/generate-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for DRIVER_NAME in "${DRIVER_NAMES[@]}"; do
-e 's!company:.*!company: ansible-community!g' \
-e 's!min_ansible_version:.*!min_ansible_version: "2.1"!g' \
-e 's!license:.*!license: MIT!g' \
-i meta/main.yml
-i.backup meta/main.yml
# Not sure if the issue is in molecule or ansible-lint or pre-commit ansible-lint hook
# As a workaround, kill the offending files.
rm -rf tests
Expand Down

0 comments on commit df8efe6

Please sign in to comment.