|
| 1 | +--- |
| 2 | +- name: Prepare |
| 3 | + hosts: all |
| 4 | + tasks: |
| 5 | + - name: Make sure Stereum's config path exists |
| 6 | + file: |
| 7 | + path: '/etc/stereum/services' |
| 8 | + state: directory |
| 9 | + owner: 'root' |
| 10 | + group: 'root' |
| 11 | + mode: 0644 |
| 12 | + become: yes |
| 13 | + |
| 14 | + - name: Create ValidatorEjectorService config |
| 15 | + copy: |
| 16 | + dest: '/etc/stereum/services/15ce3684-4dbd-4657-8a21-b1243b72b1ca.yaml' |
| 17 | + owner: 'root' |
| 18 | + group: 'root' |
| 19 | + mode: 0644 |
| 20 | + content: | |
| 21 | + service: ValidatorEjectorService |
| 22 | + id: 15ce3684-4dbd-4657-8a21-b1243b72b1ca |
| 23 | + configVersion: 1 |
| 24 | + command: [] |
| 25 | + entrypoint: [] |
| 26 | + env: |
| 27 | + EXECUTION_NODE: http://stereum-ce456ae0-64d6-4886-a53b-6b90984d4913:8545 |
| 28 | + CONSENSUS_NODE: http://stereum-e7bd77d1-4d20-4a2e-85a6-1915f105a4c6:5052 |
| 29 | + LOCATOR_ADDRESS: "0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8" |
| 30 | + STAKING_MODULE_ID: "123" |
| 31 | + OPERATOR_ID: "123" |
| 32 | + MESSAGES_LOCATION: /app/messages |
| 33 | + ORACLE_ADDRESSES_ALLOWLIST: '["0x140Bd8FbDc884f48dA7cb1c09bE8A2fAdfea776E", |
| 34 | + "0xA7410857ABbf75043d61ea54e07D57A6EB6EF186", |
| 35 | + "0x404335BcE530400a5814375E7Ec1FB55fAff3eA2", |
| 36 | + "0x946D3b081ed19173dC83Cd974fC69e1e760B7d78", |
| 37 | + "0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5", |
| 38 | + "0xEC4BfbAF681eb505B94E4a7849877DC6c600Ca3A", |
| 39 | + "0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8", |
| 40 | + "0x1Ca0fEC59b86F549e1F1184d97cb47794C8Af58d", |
| 41 | + "0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf"]' |
| 42 | + HTTP_PORT: "8989" |
| 43 | + RUN_METRICS: "true" |
| 44 | + RUN_HEALTH_CHECK: "true" |
| 45 | + DRY_RUN: "false" |
| 46 | + image: lidofinance/validator-ejector:1.6.0 |
| 47 | + ports: [] |
| 48 | + volumes: |
| 49 | + - /opt/stereum/validatorejector-15ce3684-4dbd-4657-8a21-b1243b72b1ca/messages:/app/messages |
| 50 | + user: "2000" |
| 51 | + autoupdate: true |
| 52 | + network: mainnet |
| 53 | + dependencies: |
| 54 | + executionClients: |
| 55 | + - service: GethService |
| 56 | + id: ce456ae0-64d6-4886-a53b-6b90984d4913 |
| 57 | + consensusClients: |
| 58 | + - service: LighthouseBeaconService |
| 59 | + id: e7bd77d1-4d20-4a2e-85a6-1915f105a4c6 |
| 60 | + mevboost: [] |
| 61 | + otherServices: [] |
| 62 | + become: yes |
| 63 | + |
| 64 | + - name: Create ValidatorEjectorService config |
| 65 | + copy: |
| 66 | + dest: '/etc/stereum/services/41b15ea7-12d4-49f6-8448-8a6164edef36.yaml' |
| 67 | + owner: 'root' |
| 68 | + group: 'root' |
| 69 | + mode: 0644 |
| 70 | + content: | |
| 71 | + service: ValidatorEjectorService |
| 72 | + id: 41b15ea7-12d4-49f6-8448-8a6164edef36 |
| 73 | + configVersion: 1 |
| 74 | + command: [] |
| 75 | + entrypoint: [] |
| 76 | + env: |
| 77 | + EXECUTION_NODE: http://stereum-cc1323ce-90a1-440f-8b78-f930a3300b38:8545 |
| 78 | + CONSENSUS_NODE: http://stereum-62cb879b-b0f0-4ea2-bc13-f606b7f4cfb9:5052 |
| 79 | + LOCATOR_ADDRESS: "0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8" |
| 80 | + STAKING_MODULE_ID: "123" |
| 81 | + OPERATOR_ID: "123" |
| 82 | + MESSAGES_LOCATION: /app/messages |
| 83 | + ORACLE_ADDRESSES_ALLOWLIST: '["0x140Bd8FbDc884f48dA7cb1c09bE8A2fAdfea776E","0xA7410857ABbf75043d61ea54e07D57A6EB6EF186","0x404335BcE530400a5814375E7Ec1FB55fAff3eA2","0x946D3b081ed19173dC83Cd974fC69e1e760B7d78","0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5","0xEC4BfbAF681eb505B94E4a7849877DC6c600Ca3A","0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8","0x1Ca0fEC59b86F549e1F1184d97cb47794C8Af58d","0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf"]' |
| 84 | + HTTP_PORT: "8989" |
| 85 | + RUN_METRICS: "true" |
| 86 | + RUN_HEALTH_CHECK: "true" |
| 87 | + DRY_RUN: "false" |
| 88 | + image: lidofinance/validator-ejector:1.6.0 |
| 89 | + ports: [] |
| 90 | + volumes: |
| 91 | + - /opt/stereum/validatorejector-41b15ea7-12d4-49f6-8448-8a6164edef36/messages:/app/messages |
| 92 | + user: "2000" |
| 93 | + autoupdate: true |
| 94 | + network: mainnet |
| 95 | + dependencies: |
| 96 | + executionClients: |
| 97 | + - service: GethService |
| 98 | + id: cc1323ce-90a1-440f-8b78-f930a3300b38 |
| 99 | + consensusClients: |
| 100 | + - service: LighthouseBeaconService |
| 101 | + id: 62cb879b-b0f0-4ea2-bc13-f606b7f4cfb9 |
| 102 | + mevboost: [] |
| 103 | + otherServices: [] |
| 104 | + become: yes |
| 105 | +#EOF |
0 commit comments