Skip to content

Commit

Permalink
properly formatted yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
KevJimenez committed Feb 1, 2024
1 parent 4a9112f commit 4f45fce
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion .config/ansible-lint-ignore.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
playbook.yml yaml[trailing-spaces]
playbook.yml fqcn[action-core]
playbook.yml yaml[indentation]
playbook.yml yaml[new-line-at-end-of-file]
playbook.yml yaml[line-length]
playbook.yml package-latest
destroyinf.yml fqcn[action-core]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/destroy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Destroy infrastracture

on: workflow_dispatch
Expand Down Expand Up @@ -29,3 +30,4 @@ jobs:
# Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks
- name: Terraform Destroy
run: terraform destroy -auto-approve -input=false -var-file=my_variables.tfvars
...
6 changes: 4 additions & 2 deletions .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Lint
---
name: Tflint
on:
push:
branches: main
Expand Down Expand Up @@ -37,4 +38,5 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}

- name: Run TFLint
run: tflint -f compact
run: tflint -f compact
...
3 changes: 2 additions & 1 deletion aws_ec2.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
plugin: amazon.aws.aws_ec2
regions:
- ap-southeast-1

filter:
tag:cicd: sys1
...

Check failure on line 8 in aws_ec2.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[new-line-at-end-of-file]

No new line character at the end of file
2 changes: 1 addition & 1 deletion destroyinf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
apt:
name: apache2
state: absent
...

Check failure on line 19 in destroyinf.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[new-line-at-end-of-file]

No new line character at the end of file
3 changes: 2 additions & 1 deletion playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
- docker-compose-plugin
...

Check failure on line 47 in playbook.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[new-line-at-end-of-file]

No new line character at the end of file

0 comments on commit 4f45fce

Please sign in to comment.