solard => solar_agent in yamls

This commit is contained in:
Jedrzej Nowak 2015-11-24 11:32:11 +01:00
parent 9e8009b8cb
commit e8f960389a
3 changed files with 12 additions and 12 deletions

View File

@ -1,7 +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"
- shell: pip install -e /vagrant/solar_agent
- shell: start-stop-daemon --stop --make-pidfile --pidfile /tmp/solar_agent.pid --chdir /vagrant/solar_agent --startas /bin/bash -- -c "exec /usr/local/bin/solar_agent run --port {{solar_agent_port}} --base tcp > /tmp/solar_agent.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"
- shell: start-stop-daemon -b --start --make-pidfile --pidfile /tmp/solar_agent.pid --chdir /vagrant/solar_agent --startas /bin/bash -- -c "exec /usr/local/bin/solar_agent run --port {{solar_agent_port}} --base tcp > /tmp/solar_agent.log 2>&1"

View File

@ -1,7 +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"
- shell: pip install -e /vagrant/solar_agent
- shell: start-stop-daemon --stop --make-pidfile --pidfile /tmp/solar_agent.pid --chdir /vagrant/solar_agent --startas /bin/bash -- -c "exec /usr/local/bin/solar_agent run --port {{solar_agent_port}} --base tcp > /tmp/solar_agent.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"
- shell: start-stop-daemon -b --start --make-pidfile --pidfile /tmp/solar_agent.pid --chdir /vagrant/solar_agent --startas /bin/bash -- -c "exec /usr/local/bin/solar_agent run --port {{solar_agent_port}} --base tcp > /tmp/solar_agent.log 2>&1"

View File

@ -1,21 +1,21 @@
id: transport_solard
id: transport_solar_agent
handler: ansible
input:
solard_user:
solar_agent_user:
schema: str!
value:
solard_password:
solar_agent_password:
schema: str!
value:
# solard_transport_class:
# solar_agent_transport_class:
# schema: str!
# value:
solard_port:
solar_agent_port:
schema: int!
value: 5555
name:
schema: str!
value: solard
value: solar_agent
location_id:
schema: str
value: