Use FDO AIO server for testing

Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Antonio Murdaca 2022-10-13 13:56:46 +02:00 committed by Achilleas Koutsou
parent 923361aa5f
commit 50fb688d43
2 changed files with 34 additions and 34 deletions

View file

@ -46,24 +46,19 @@
- set_fact:
checking_stage: "{{ result_stage.stdout }}"
# case: check /boot/device-credentials exists
# simplified installer installed Edge system ONLY
- name: check /boot/device-credentials exists
stat:
path: /boot/device-credentials
register: stat_result
- name: check commit deployed and built
- name: wait for FDO onboarding
block:
- assert:
that:
- stat_result.stat.exists
fail_msg: "/boot/device-credentials does not exist"
success_msg: "/boot/device-credentials exists"
- wait_for:
path: "/etc/device-credentials"
delay: 10
timeout: 600
state: present
msg: "FDO onboarding credentials not created"
always:
- set_fact:
total_counter: "{{ total_counter | int + 1 }}"
rescue:
# TODO: gather fdo-client-linuxapp.service logs
- name: failed count + 1
set_fact:
failed_counter: "{{ failed_counter | int + 1 }}"