Skip to content

Commit

Permalink
Added role name to e-mail var
Browse files Browse the repository at this point in the history
  • Loading branch information
adworjan committed Apr 30, 2024
1 parent e3de375 commit c9061aa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .ansible-sign/sha256sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ a3dc6c14a17f1d5b86f466016d23278f80b334c28b84a73d1671255af0cd57ac roles/servicen
96fe8ffc8373291cdd82d3213a08eb1f73b4f09364b96db538941787a845a7ab roles/servicenow_change_request/tasks/servicenow_create.yml
f24230fbcf3e3e8ead1a35ca1bc06ee6279cdd60180129a1d78e90dced09ce8f roles/servicenow_change_request/tasks/servicenow_deleted.yml
f3fff777c19e4539b6d639f3ac6d639d1bf55c177ed67366110aa6bc6b311137 roles/servicenow_change_request/tasks/servicenow_implement.yml
a464004cbb41d95d683f7a25ae37a1813d17be673a1b2a834186ac123bd961fb roles/servicenow_change_request_wait/defaults/main.yml
c20e13cfafc1a0447893f3bababa15513a73bf25064235e001f746d6e2310e5c roles/servicenow_change_request_wait/tasks/main.yml
3a4407247aaedf6d50ab840272cf8f070ee72a918807aa17b4877c9068699929 roles/servicenow_change_request_wait/defaults/main.yml
ec7333bcd5b5b4ff0bad2c34f189cdf6fef593b4e4ac6cc0d5db4225d6f72ab5 roles/servicenow_change_request_wait/tasks/main.yml
f343ccda9aeb24dfca122914f78de121e5ca8b8be1c6d18e0c39163ecc475d1e roles/servicenow_cmdb/tasks/main.yml
70c16b04f073bd76d518d043e29db8b862d2b48d72ffa3ce9d61279e370efdc4 roles/servicenow_ticket/defaults/main.yml
b8cab364bf2b85691fae7cf83f1340ae5e5b4fe0f6829068ab6955c924651412 roles/servicenow_ticket/tasks/main.yml
Expand Down
22 changes: 11 additions & 11 deletions .ansible-sign/sha256sum.txt.sig
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEE/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khnZ
CfuS2GEAlhTZpQs4O3DvwraQdRU7tk/L9S2xerrNiZTjSoYtlbOPe14D5VIndsrj
ZSnw1hDB
=ecOl
-----END PGP SIGNATURE-----
2 changes: 1 addition & 1 deletion roles/servicenow_change_request_wait/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
cr_description: Create new {{ operating_system | default('') }} server in {{ shadowman_provision_hypervisor | default('production') }}

Check warning on line 2 in roles/servicenow_change_request_wait/defaults/main.yml

View workflow job for this annotation

GitHub Actions / build

var-naming[no-role-prefix]

Variables names from within roles should use servicenow_change_request_wait_ as a prefix. (vars: cr_description)

Check warning on line 2 in roles/servicenow_change_request_wait/defaults/main.yml

View workflow job for this annotation

GitHub Actions / build

var-naming[no-role-prefix]

Variables names from within roles should use servicenow_change_request_wait_ as a prefix. (vars: cr_description)
to_email: "{{ to_emails.split(',') }}"
servicenow_change_request_wait_to_email: "{{ to_emails.split(',') }}"
2 changes: 1 addition & 1 deletion roles/servicenow_change_request_wait/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
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 }}"
to: "{{ servicenow_change_request_wait_to_email }}"
delegate_to: localhost

- name: Wait for Change Request approval
Expand Down

0 comments on commit c9061aa

Please sign in to comment.