Added update option for solard
This commit is contained in:
parent
b7a412289d
commit
a88d6ff7ce
7
resources/transport_solard/actions/update.yaml
Normal file
7
resources/transport_solard/actions/update.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
- hosts: [{{ host }}]
|
||||
sudo: yes
|
||||
tasks:
|
||||
- shell: pip install -e /vagrant/solard
|
||||
- shell: start-stop-daemon --stop --make-pidfile --pidfile /tmp/solard.pid --chdir /vagrant/solard --startas /bin/bash -- -c "exec /usr/local/bin/solard run --port {{solard_port}} --base tcp > /tmp/solard.log 2>&1"
|
||||
ignore_errors: True
|
||||
- shell: start-stop-daemon -b --start --make-pidfile --pidfile /tmp/solard.pid --chdir /vagrant/solard --startas /bin/bash -- -c "exec /usr/local/bin/solard run --port {{solard_port}} --base tcp > /tmp/solard.log 2>&1"
|
Loading…
Reference in New Issue
Block a user