Skip to content

Commit

Permalink
ignored files and added pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
KevJimenez committed Feb 1, 2024
1 parent 2800149 commit 4a9112f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .config/ansible-lint-ignore.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
playbook.yml yaml[trailing-spaces]
playbook.yml action-core
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]
destroyinf.yml fqcn[action-core]
destroyinf.yml yaml[trailing-spaces]
3 changes: 2 additions & 1 deletion aws_ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ regions:
- ap-southeast-1

filter:
tag:cicd: sys1
tag:cicd: sys1

Check failure on line 7 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

Check failure on line 7 in aws_ec2.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
5 changes: 3 additions & 2 deletions destroyinf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: My first play
hosts: all
become: true

pre_tasks:

- name: Clean and Remove

Check failure on line 8 in destroyinf.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[indentation]

Wrong indentation: expected at least 3

Check warning on line 8 in destroyinf.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

fqcn[action-core]

Use FQCN for builtin module actions (apt).
Expand All @@ -15,4 +15,5 @@
- name: Install Apache

Check failure on line 15 in destroyinf.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[indentation]

Wrong indentation: expected 4 but found 2

Check warning on line 15 in destroyinf.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

fqcn[action-core]

Use FQCN for builtin module actions (apt).
apt:
name: apache2
state: absent
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

Check warning on line 19 in destroyinf.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
1 change: 1 addition & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

- name: Install Docker Prerequisites
shell: |
set -o pipefail
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
Expand Down

0 comments on commit 4a9112f

Please sign in to comment.