From e75adaf4508312349603a658a56f82d60d076a67 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Wed, 21 Aug 2024 13:41:38 +0100 Subject: [PATCH] Cleat facts before OFED so install will match newest kernel --- ansible/bootstrap.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ansible/bootstrap.yml b/ansible/bootstrap.yml index 286d18a00..5bbb1a3f7 100644 --- a/ansible/bootstrap.yml +++ b/ansible/bootstrap.yml @@ -232,9 +232,13 @@ - name: Wait for hosts to be reachable wait_for_connection: sleep: 15 - - name: update facts - setup: - when: (sestatus.changed | default(false)) or (sestatus.reboot_required | default(false)) + +- hosts: ofed + gather_facts: false + tags: ofed + tasks: + - name: refresh facts + meta: clear_facts - hosts: ofed gather_facts: yes