Skip to content

Commit

Permalink
Fix ansible-lint rule violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ansible-code-bot-stage[bot] committed Mar 13, 2024
1 parent 2ef1fd9 commit 028832f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions devfile.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
schemaVersion: 2.2.0
metadata:
name: ansible-snow-development
components:
- container:
args: ['tail', '-f', '/dev/null']
image: 'towerpah.shadowman.dev/devee:latest'
args: [tail, -f, /dev/null]
image: towerpah.shadowman.dev/devee:latest
memoryRequest: 256M
memoryLimit: 6Gi
cpuRequest: 250m
Expand Down
8 changes: 4 additions & 4 deletions roles/servicenow_change_request_wait/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
servicenow.itsm.change_request:
type: normal
short_description: "{{ cr_description }}"
description: "{{ owner | default('Shadowman') }} requests {{ operating_system | default('') }} server in
{{ shadowman_provision_hypervisor | default('') }} with name {{ vm_name | default('') }} and environment {{ env | default('test') }}"
description: "{{ owner | default('Shadowman') }} requests {{ operating_system | default('') }} server in {{ shadowman_provision_hypervisor | default('') }}

Check warning on line 9 in roles/servicenow_change_request_wait/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

yaml[line-length]

Line too long (163 > 160 characters)

Check warning on line 9 in roles/servicenow_change_request_wait/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

yaml[line-length]

Line too long (163 > 160 characters)
with name {{ vm_name | default('') }} and environment {{ env | default('test') }}"
priority: high
risk: moderate
impact: low
Expand All @@ -33,8 +33,8 @@
password: "{{ EMAIL_PASSWORD }}"
port: "{{ EMAIL_PORT }}"
subject: Approval request for ServiceNow Change Request {{ request.record.number }}
body: "You have a new CR Approval request. Please click on this URL to approve:
{{ lookup('env', 'SN_HOST') }}nav_to.do?uri=change_request.do?sysparm_query=number={{ request.record.number }}"
body: "You have a new CR Approval request. Please click on this URL to approve: {{ lookup('env', 'SN_HOST') }}nav_to.do?uri=change_request.do?sysparm_query=number={{

Check warning on line 36 in roles/servicenow_change_request_wait/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

yaml[line-length]

Line too long (173 > 160 characters)

Check warning on line 36 in roles/servicenow_change_request_wait/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

yaml[line-length]

Line too long (173 > 160 characters)
request.record.number }}"
from: tower@shadowman.dev
to: "{{ to_email }}"
delegate_to: localhost
Expand Down

0 comments on commit 028832f

Please sign in to comment.