diff --git a/devfile.yaml b/devfile.yaml index e259d6f..87a4131 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -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 diff --git a/roles/servicenow_change_request_wait/tasks/main.yml b/roles/servicenow_change_request_wait/tasks/main.yml index 21a2502..d51d82b 100644 --- a/roles/servicenow_change_request_wait/tasks/main.yml +++ b/roles/servicenow_change_request_wait/tasks/main.yml @@ -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('') }} + with name {{ vm_name | default('') }} and environment {{ env | default('test') }}" priority: high risk: moderate impact: low @@ -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={{ + request.record.number }}" from: tower@shadowman.dev to: "{{ to_email }}" delegate_to: localhost