Skip to content

Commit 374c42c

Browse files
committed
Cleat facts before OFED so install will match newest kernel
1 parent 809e3f8 commit 374c42c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

ansible/bootstrap.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,13 @@
232232
- name: Wait for hosts to be reachable
233233
wait_for_connection:
234234
sleep: 15
235-
- name: update facts
236-
setup:
237-
when: (sestatus.changed | default(false)) or (sestatus.reboot_required | default(false))
235+
236+
- hosts: ofed
237+
gather_facts: false
238+
tags: ofed
239+
tasks:
240+
- name: refresh facts
241+
meta: clear_facts
238242

239243
- hosts: ofed
240244
gather_facts: yes

0 commit comments

Comments
 (0)