Fix linux_reboot: remove preflight bootstrap play, use gather_facts directly
This commit is contained in:
@@ -1,11 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: Bootstrap — ensure Python is available
|
|
||||||
hosts: linux_hosts
|
|
||||||
gather_facts: false
|
|
||||||
roles:
|
|
||||||
- role: preflight
|
|
||||||
tasks_from: bootstrap
|
|
||||||
|
|
||||||
- name: Reboot Linux hosts if required (or forced)
|
- name: Reboot Linux hosts if required (or forced)
|
||||||
hosts: linux_hosts
|
hosts: linux_hosts
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
|||||||
Reference in New Issue
Block a user