blob: c24936ff024a2905bdb034b7a7b977ab743e3de0 [file] [log] [blame]
Andy Bavier9a3aed12018-01-16 15:37:08 -07001---
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 Bavierb04ed9f2018-01-20 13:25:32 -070015- 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 Bavier9a3aed12018-01-16 15:37:08 -070025 args:
26 chdir: "{{ source_path }}"