Add Python bootstrap to site_maintenance, snapshot_pre — windows_patch skipped (WinRM)
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
# Master wrapper — runs full maintenance sequence
|
- name: Bootstrap — ensure Python is available
|
||||||
# This is the single template to schedule in Semaphore per client
|
hosts: all
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- ansible.builtin.import_tasks: ../roles/preflight/tasks/bootstrap.yml
|
||||||
|
|
||||||
- import_playbook: snapshot_pre.yml
|
- import_playbook: snapshot_pre.yml
|
||||||
- import_playbook: site_preflight.yml
|
- import_playbook: site_preflight.yml
|
||||||
- import_playbook: linux_patch.yml
|
- import_playbook: linux_patch.yml
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- name: Bootstrap — ensure Python is available
|
||||||
|
hosts: all
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- ansible.builtin.import_tasks: ../roles/preflight/tasks/bootstrap.yml
|
||||||
|
|
||||||
- name: Pre-patch snapshot
|
- name: Pre-patch snapshot
|
||||||
hosts: all
|
hosts: all
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
# Windows hosts don't need Python bootstrap — WinRM handles this natively
|
||||||
- name: Windows patching
|
- name: Windows patching
|
||||||
hosts: windows_hosts
|
hosts: windows_hosts
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
|||||||
Reference in New Issue
Block a user