Skip to content

Commit

Permalink
chore: configure ansible-lint to exclude role-name check
Browse files Browse the repository at this point in the history
The error was:
Error: [E106] Role name mystamps-app does not match `^[a-z][a-z0-9_]+$` pattern
Error: [E106] Role name mystamps-backup does not match `^[a-z][a-z0-9_]+$` pattern
Error: [E106] Role name mystamps-nginx does not match `^[a-z][a-z0-9_]+$` pattern
Error: [E106] Role name mystamps-user does not match `^[a-z][a-z0-9_]+$` pattern

Relate to #1516
  • Loading branch information
php-coder committed Oct 29, 2023
1 parent 0d5c4fd commit 76253a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scripts/execute-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ MVN=mvn
case ${1:-} in
'ansible-lint')
exec ansible-lint \
-x role-name \
"$ROOTDIR/infra/vagrant/provisioning/prod.yml" \
"$ROOTDIR/infra/vagrant/provisioning/vagrant.yml" \
"$ROOTDIR/infra/vagrant/provisioning/bootstrap.yml" \
Expand Down

0 comments on commit 76253a3

Please sign in to comment.