blob: fe7e1e8660069069fdc872190abedeb089ad2daa [file] [log] [blame]
Andy Bavier9a3aed12018-01-16 15:37:08 -07001---
Woojoong Kim943170a2018-02-16 11:56:03 -08002- name: resolve sudo timeout
3 become: yes
4 shell: "echo 127.0.1.1 $(cat /etc/hostname) >> /etc/hosts"
5
Andy Bavier9a3aed12018-01-16 15:37:08 -07006- name: Copy templates
7 template:
8 src: "templates/{{ item }}.j2"
9 dest: "{{ source_path }}/{{ item }}"
10 with_items:
11 - vbfd.conf
12 - vbsm_cfg.txt
13
14- name: Run make_certs.sh command
15 shell: "./make_certs.sh mme {{ realm }}"
16 args:
17 chdir: "{{ source_path }}"
18
Andy Bavierb04ed9f2018-01-20 13:25:32 -070019- name: Kill running MME
20 shell: "killall -w {{ item }}"
21 ignore_errors: yes
22 with_items:
23 - tmux
24 - vb_acc
25
26# vb_acc exits if it's not run with a TTY (?)
27- name: Run MME
28 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 -070029 args:
30 chdir: "{{ source_path }}"