23 lines
676 B
YAML
23 lines
676 B
YAML
---
|
|
# linux_hosts:xcpng_hosts — union (either group)
|
|
# linux_hosts:&xcpng_hosts — intersection (in both groups)
|
|
# linux_hosts:!xcpng_hosts — difference (in linux_hosts but not xcpng_hosts)
|
|
# all:!windows_hosts — everything except windows (alternative approach)
|
|
|
|
- name: Bootstrap — ensure Python is available
|
|
hosts: linux_hosts:xcpng_hosts
|
|
gather_facts: false
|
|
tasks:
|
|
- ansible.builtin.import_tasks: ../roles/preflight/tasks/bootstrap.yml
|
|
|
|
- name: Pre-flight safety checks
|
|
hosts: linux_hosts:xcpng_hosts
|
|
gather_facts: true
|
|
roles:
|
|
- preflight
|
|
|
|
- name: Infrastructure Preflight Check
|
|
hosts: all
|
|
gather_facts: false
|
|
roles:
|
|
- role: preflight |