Andy Bavier | 9a3aed1 | 2018-01-16 15:37:08 -0700 | [diff] [blame] | 1 | --- |
| 2 | - name: Copy templates |
| 3 | template: |
| 4 | src: "templates/{{ item }}.j2" |
| 5 | dest: "{{ source_path }}/{{ item }}" |
| 6 | with_items: |
| 7 | - vbfd.conf |
| 8 | - vbsm_cfg.txt |
| 9 | |
| 10 | - name: Run make_certs.sh command |
| 11 | shell: "./make_certs.sh mme {{ realm }}" |
| 12 | args: |
| 13 | chdir: "{{ source_path }}" |
| 14 | |
Andy Bavier | b04ed9f | 2018-01-20 13:25:32 -0700 | [diff] [blame] | 15 | - name: Kill running MME |
| 16 | shell: "killall -w {{ item }}" |
| 17 | ignore_errors: yes |
| 18 | with_items: |
| 19 | - tmux |
| 20 | - vb_acc |
| 21 | |
| 22 | # vb_acc exits if it's not run with a TTY (?) |
| 23 | - name: Run MME |
| 24 | shell: tmux new -d 'while true; do ./vb_acc >> /tmp/vb_acc.output 2>&1; sleep 15; done' |
Andy Bavier | 9a3aed1 | 2018-01-16 15:37:08 -0700 | [diff] [blame] | 25 | args: |
| 26 | chdir: "{{ source_path }}" |