Comments (5)
is community.general.terraform
present in requirements.yml
?
from ansible-lint-action.
Hi @bilalahmad99 can you include a link to the action run or any logs?
from ansible-lint-action.
error logs:
Run ansible/ansible-lint-action@main
/usr/bin/docker run --name a9[5](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:5)e1[6](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:6)040a113e1c46febf[7](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:7)5f1a7d5796a45_c[8](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:8)37a5 --label 2[9](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:9)a95e --workdir /github/workspace --rm -e INPUT_TARGETS -e INPUT_ARGS -e INPUT_OVERRIDE-DEPS -e TARGETS -e OVERRIDE -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/infrastructure/infrastructure":"/github/workspace" 29a95e:16040a[11](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:11)3e1c46febf75f1a7d5796a45 "-x meta-no-info -x meta-no-tags"
+ args=("$@")
+ '[' /entrypoint.sh = /entrypoint.sh ']'
+ echo -E '\nRunning Ansible Lint...\n'
\nRunning Ansible Lint...\n
+ ansible::lint '-x meta-no-info -x meta-no-tags'
+ : './*.yml'
+ : /github/workspace
+ pushd /github/workspace
+ override_python_packages
+ [[ -n '' ]]
+ echo 'Completed installing override dependencies...'
Completed installing override dependencies...
+ local opts
++ parse_args -x meta-no-info -x meta-no-tags
++ local opts=
++ (( 4 ))
++ case "$1" in
++ opts=' -x meta-no-info'
++ shift 2
++ (( 2 ))
++ case "$1" in
++ opts=' -x meta-no-info -x meta-no-tags'
++ shift 2
++ (( 0 ))
++ eval set -- ' -x meta-no-info -x meta-no-tags'
+++ set -- -x meta-no-info -x meta-no-tags
++ echo '-x meta-no-info -x meta-no-tags'
++ return 0
+ opts='-x meta-no-info -x meta-no-tags'
/github/workspace /github/workspace
+ shopt -s globstar
+ ansible-lint -v --force-color -x meta-no-info -x meta-no-tags ./aws-provisioning.yml
WARNING: PATH altered to include /usr/bin
INFO Set ANSIBLE_LIBRARY=/github/home/.cache/ansible-compat/[21](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:21)a3[23](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:23)/modules:/github/home/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
INFO Set ANSIBLE_COLLECTIONS_PATH=/github/home/.cache/ansible-compat/21a[32](https://github.com/Azzurri-Tech/infrastructure/runs/5626144387?check_suite_focus=true#step:5:32)3/collections:/github/home/.ansible/collections:/usr/share/ansible/collections
INFO Set ANSIBLE_ROLES_PATH=/github/home/.cache/ansible-compat/21a323/roles:roles:/github/home/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
WARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument: ./aws-provisioning.yml
INFO Executing syntax check on aws-provisioning.yml (0.70s)
WARNING Listing 1 violation(s) that are fatal
syntax-check: couldn't resolve module/action 'community.general.terraform'. This often indicates a misspelling, missing collection, or incorrect module path.
Warning: s/aws_base_vpc/tasks/terraform.yml:2:3 [WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
ERROR! couldn't resolve module/action 'community.general.terraform'. This often indicates a misspelling, missing collection, or incorrect module path.
from ansible-lint-action.
yaml file
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@main
with:
targets: "./*.yml"
override-deps: |
ansible-lint==5.3.2
args: "-x meta-no-info -x meta-no-tags"
from ansible-lint-action.
I bet it is not, also since v6 was released we no longer support the old versions, so I will close this one.
from ansible-lint-action.
Related Issues (20)
- (Ability to) disable verbose output HOT 2
- Couldn't resolve module/action in ansible-lint action HOT 8
- Repository not found: ansible-community/ansible-lint-action HOT 1
- Failed to discover lintable files using git: (Warning and Error) HOT 5
- fatal: detected dubious ownership in repository at '/github/workspace' HOT 10
- Please update the action with ansible-lint 6.9.0 or later HOT 2
- Warning on every run HOT 1
- The action cannot be used as a status check in a branch protection rule HOT 1
- Ansible lint not been able to use community.general.system.timezone HOT 5
- Some ansible lint rule are not checked for the playbook HOT 1
- Update to 6.14.6
- Couldn't resolve module/action error in action but not on system HOT 1
- config ignored ? HOT 2
- Link to github marketplace is broken HOT 2
- `uses: ansible/ansible-lint@v6` yields error "unable to find version `v6`" HOT 1
- Ansible-lint-action is not returning the same result as local ansible-lint HOT 1
- `ansible-lint` outdated HOT 1
- requirements.yml not loaded from given path HOT 3
- ansible-lint fails validating the .github/workflows/ansible-lint.yml HOT 3
- Update to ansible-lint 6.17.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-lint-action.