cockpit/tests/roles/standard-test-overlay/tasks/main.yml
Stef Walter d9a218b7d5 Initial smoke tests run from upstream Cockpit project
Later once the upstream no longer uses phantomjs, we should
be able to execute the entire integration test suite.

This includes the standard-test-overlay role, and the
standard-test-scripts role. These will be suggested to the
standard-test-roles repo.
2017-09-21 12:01:44 +02:00

18 lines
531 B
YAML

---
- block:
- name: Overlaying end user packages onto Atomic Host
shell: rpm-ostree install {{ packages | join(" ") }}
- name: Reboot the Atomic Host
shell: sleep 2 && systemctl reboot
ignore_errors: true
async: 1
poll: 0
- name: Waiting for Atomic Host to restart
local_action: wait_for host={{ ansible_ssh_host }} search_regex=OpenSSH port={{ ansible_ssh_port }} timeout=300 delay=20 connect_timeout=20
become: false
# All these commands only apply to Atomic Host
tags: atomic