Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
makhoninvit authored and Vitaliy Makhonin committed Aug 14, 2024
1 parent 4c483e6 commit 379803b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion roles/validator_bootstrap/tasks/validator.service.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
---
- name: Disable old validator services
systemd:
name: "{{ item.0 }}"
state: "{{ item.1 }}"
enabled: no
ignore_errors: True
with_nested:
- [ 'solana-validator', 'agave-validator']
- [ 'stopped' ]
tags:
- validator.service

- name: Remove validator systemd service unit file
file:
path: "/etc/systemd/system/validator.service"
path: "/etc/systemd/system/{{ item }}.service"
state: absent
with_items:
- "validator"
- "agave-validator"
- "solana-validator"
tags:
- validator.service

Expand Down

0 comments on commit 379803b

Please sign in to comment.