Skip to content

Commit

Permalink
FIX: regex
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPlays committed May 30, 2024
1 parent 8f58537 commit 7e39c9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions controls/roles/update-changes/molecule/215/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@

- debug:
msg: "{{ Ejector_service_configuration }}"
- debug:
msg: "{{ Ejector_service_configuration_raw }}"

- debug:
msg: "{{ Ejector_service_configuration2 }}"
- debug:
msg: "{{ Ejector_service_configuration2_raw }}"

- assert:
that:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: Update Oracle Allow List
replace:
path: "{{ item.path }}"
regexp: "(?ms)ORACLE_ADDRESSES_ALLOWLIST.*]'"
regexp: 'ORACLE_ADDRESSES_ALLOWLIST.*]["'']{1}'
replace: 'ORACLE_ADDRESSES_ALLOWLIST: ''["0x12A1D74F8697b9f4F1eEBb0a9d0FB6a751366399", "0xD892c09b556b547c80B7d8c8cB8d75bf541B2284", "0xf7aE520e99ed3C41180B5E12681d31Aa7302E4e5", "0x31fa51343297FFce0CC1E67a50B2D3428057D1b1", "0x81E411f1BFDa43493D7994F82fb61A415F6b8Fd4", "0x4c75FA734a39f3a21C57e583c1c29942F021C6B7", "0xD3b1e36A372Ca250eefF61f90E833Ca070559970", "0xF0F23944EfC5A63c53632C571E7377b85d5E6B6f", "0xb29dD2f6672C0DFF2d2f173087739A42877A5172", "0x3799bDA7B884D33F79CEC926af21160dc47fbe05"]'''
when:
- service_configuration.service == "ValidatorEjectorService"
Expand Down

0 comments on commit 7e39c9e

Please sign in to comment.