Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible code bot recommendations #4

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading