cockpit/tests/roles/standard-test-overlay/tasks/main.yml

18 lines
531 B
YAML
Raw Normal View History

---
- 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