This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Signed-off-by: Sergio Nemirowski <[email protected]>
- Loading branch information
sergio
authored
Mar 31, 2022
1 parent
530e7b5
commit 5470f68
Showing
3 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
--- | ||
|
||
- name: Restart NeoFS IR service | ||
ansible.builtin.systemd: | ||
name: "neofs-ir{{ neofs_ir__instance }}.service" | ||
state: 'restarted' | ||
daemon_reload: yes | ||
ansible.builtin.include_tasks: 'restart.yml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
- name: Restart NeoFS IR systemd service | ||
ansible.builtin.systemd: | ||
name: "neofs-ir{{ neofs_ir__instance }}.service" | ||
state: 'restarted' | ||
daemon_reload: yes | ||
|
||
- name: Waiting for node up | ||
ansible.builtin.shell: | ||
cmd: "{{ neofs_ir__cli_bin_path }} control healthcheck -c {{ neofs_ir__control_api_config_path }} --ir" | ||
changed_when: False | ||
register: _neofs_ir_check_result | ||
until: _neofs_ir_check_result.rc == 0 | ||
retries: 10 | ||
delay: 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters