From 5e273edc18edd7b19fd802b9ac96a9e50a5ab250 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Wed, 3 Oct 2018 15:23:20 +0200 Subject: [PATCH] test/ci: make sure all packages are updated before starting install --- test/ci/launch.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/ci/launch.yml b/test/ci/launch.yml index dbc4bef2abf..24185c7ed60 100644 --- a/test/ci/launch.yml +++ b/test/ci/launch.yml @@ -78,6 +78,21 @@ - name: Make sure hostname is set to public ansible host hostname: name: "{{ ansible_host }}" + - name: Update all packages + package: + name: '*' + state: latest + - name: Reboot machines + shell: sleep 5 && systemctl reboot + async: 1 + poll: 0 + ignore_errors: true + - name: Wait for connection + wait_for_connection: + connect_timeout: 20 + sleep: 5 + delay: 5 + timeout: 300 - setup: {} - import_playbook: ../../playbooks/openshift-node/network_manager.yml