mirror of https://github.com/nucypher/nucypher.git
15 lines
376 B
YAML
15 lines
376 B
YAML
- name: "Restart Ursulas"
|
|
hosts: "{{ 'tag_Role_' + lookup('env', 'NUCYPHER_NETWORK_NAME') + '_ursulas' }}"
|
|
user: ubuntu
|
|
gather_facts: false
|
|
tasks:
|
|
- name: "Restart Ursula Service"
|
|
become: yes
|
|
become_flags: "-H -S"
|
|
systemd:
|
|
daemon_reload: yes
|
|
no_block: yes
|
|
enabled: yes
|
|
state: restarted
|
|
name: "ursula_node"
|