commit | b04ed9fece5c8b3e8b47450c289c718433439323 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Sat Jan 20 13:25:32 2018 -0700 |
committer | Andy Bavier <andy@onlab.us> | Sat Jan 20 13:25:32 2018 -0700 |
tree | 92d4bda8d01166f76019eddeadb4343857beda02 | |
parent | 9a3aed1e8306e4efdb919c102ce712812af4ebe0 [diff] |
Fix issue with vb_acc failing to run Change-Id: I468ee458aa0f839fddbc3ee1b82b8cef64c283e6
diff --git a/xos/synchronizer/steps/roles/sprint_mme_setup/tasks/main.yml b/xos/synchronizer/steps/roles/sprint_mme_setup/tasks/main.yml index d5548fe..c24936f 100644 --- a/xos/synchronizer/steps/roles/sprint_mme_setup/tasks/main.yml +++ b/xos/synchronizer/steps/roles/sprint_mme_setup/tasks/main.yml
@@ -12,7 +12,15 @@ args: chdir: "{{ source_path }}" -- name: Run vb_acc - shell: "./vb_acc" +- name: Kill running MME + shell: "killall -w {{ item }}" + ignore_errors: yes + with_items: + - tmux + - vb_acc + +# vb_acc exits if it's not run with a TTY (?) +- name: Run MME + shell: tmux new -d 'while true; do ./vb_acc >> /tmp/vb_acc.output 2>&1; sleep 15; done' args: chdir: "{{ source_path }}"