Infra: AWS Update to Ubuntu 20.04
[csit.git] / resources / tools / testbed-setup / ansible / roles / calibration / tasks / x86_64.yaml
1 ---
2 # file: roles/calibration/tasks/x86_64.yaml
3
4 - name: Calibration - Clone PMA Tool
5   git:
6     repo: "https://gerrit.fd.io/r/pma_tools"
7     dest: "{{ pma_directory }}"
8   tags:
9     - check-jitter-tool
10
11 - name: Calibration - Compile PMA Tool
12   raw: "cd {{ pma_directory }}/jitter && make"
13   tags:
14     - check-jitter-tool
15
16 - name: Calibration - Run Jitter Tool
17   shell: "{{ pma_directory }}/jitter/jitter -c {{ jitter_core }} -i {{ jitter_iterations }} -f"
18   become: yes
19   async: 60
20   poll: 0
21   ignore_errors: yes
22   register: jitter_async
23   tags:
24     - check-jitter-tool
25
26 - name: Check sync status
27   async_status:
28     jid: "{{ jitter_async.ansible_job_id }}"
29   register: "jitter_poll_results"
30   until: jitter_poll_results.finished
31   retries: 30
32
33 - debug: var=jitter_poll_results.stdout_lines
34   tags:
35     - check-jitter-tool