Skip to content

Commit

Permalink
cleaned yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
KevJimenez committed Feb 1, 2024
1 parent a31206c commit 92c33b0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .config/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
exclude_paths:
- .github/ # implicit unless exclude_paths is defined in config
- .config/
...
4 changes: 3 additions & 1 deletion .github/workflows/ansiblelint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
Expand All @@ -12,4 +13,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@main # or version tag instead of 'main'
uses: ansible/ansible-lint@main # or version tag instead of 'main'
...
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Deploy infrastracture

on: workflow_dispatch
Expand Down Expand Up @@ -30,4 +31,5 @@ jobs:
run: sleep 7s

- name: Run Ansible Playbook
run: ansible-playbook -i aws_ec2.yml playbook.yml
run: ansible-playbook -i aws_ec2.yml playbook.yml
...
1 change: 0 additions & 1 deletion .github/workflows/destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
deploy:
runs-on: cicd1


steps:

- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout source code

- uses: actions/cache@v3
Expand All @@ -39,4 +39,4 @@ jobs:

- name: Run TFLint
run: tflint -f compact
...
...

0 comments on commit 92c33b0

Please sign in to comment.