Add Python bootstrap to site_maintenance, snapshot_pre — windows_patch skipped (WinRM)

This commit is contained in:
Semaphore
2026-03-11 10:39:44 -07:00
parent 4e7a78810a
commit db3c849811
3 changed files with 13 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
---
# Master wrapper — runs full maintenance sequence
# This is the single template to schedule in Semaphore per client
- name: Bootstrap — ensure Python is available
hosts: all
gather_facts: false
tasks:
- ansible.builtin.import_tasks: ../roles/preflight/tasks/bootstrap.yml
- import_playbook: snapshot_pre.yml
- import_playbook: site_preflight.yml
- import_playbook: linux_patch.yml

View File

@@ -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
hosts: all
gather_facts: true

View File

@@ -1,4 +1,5 @@
---
# Windows hosts don't need Python bootstrap — WinRM handles this natively
- name: Windows patching
hosts: windows_hosts
gather_facts: true