Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ansible/roles/test/tasks/fast-reboot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
flat: yes
delegate_to: "{{ ptf_host }}"

- name: set authorized key took from file
- name: set authorized key taken from file
authorized_key:
user: "{{ ansible_ssh_user }}"
state: present
Expand All @@ -103,6 +103,10 @@
dest: /tmp/ports.json
delegate_to: "{{ ptf_host }}"

- name: Install a new sonic image if requested
shell: sonic_installer install -y {{ new_sonic_image }}
when: new_sonic_image is defined

- include: ptf_runner.yml
vars:
ptf_test_name: Fast-reboot test
Expand Down