Skip to content

Ec2 deploy role

Ec2 deploy role #47

Triggered via pull request March 15, 2024 03:52
Status Failure
Total duration 54s
Artifacts

lint-jobs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
fqcn[action-core]: deploy/ansible/ec2/tasks/main.yml#L3
Use FQCN for builtin module actions (pip).
fqcn[canonical]: deploy/ansible/ec2/tasks/main.yml#L9
You should use canonical module name `amazon.aws.ec2_security_group` instead of `amazon.aws.ec2_group`.
var-naming[pattern]: deploy/ansible/ec2/tasks/main.yml#L20
Variables names should match ^\[a-z_]\[a-z0-9_]*$ regex. (nodeIP) (register: nodeIP)
fqcn[action-core]: deploy/ansible/ec2/tasks/main.yml#L46
Use FQCN for builtin module actions (async_status).
fqcn[action-core]: deploy/ansible/ec2/tasks/main.yml#L54
Use FQCN for builtin module actions (set_fact).
fqcn[action-core]: deploy/ansible/ec2/tasks/main.yml#L58
Use FQCN for builtin module actions (lineinfile).
ansible
Process completed with exit code 2.
Shellcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
jinja[spacing]: deploy/ansible/ec2/tasks/main.yml#L22
Jinja2 spacing could be improved: {{ aws_nodetype_tag }}-{{ item+1 }} -> {{ aws_nodetype_tag }}-{{ item + 1 }}