Add Python bootstrap task — auto-installs python3 on Alpine/Debian before gather_facts
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
---
|
||||
- name: Bootstrap — ensure Python is available
|
||||
hosts: linux_hosts
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- ansible.builtin.import_tasks: ../roles/preflight/tasks/bootstrap.yml
|
||||
|
||||
- name: Linux patching
|
||||
hosts: linux_hosts
|
||||
gather_facts: true
|
||||
|
||||
Reference in New Issue
Block a user