Minimales Ansible-Playbook, das nur ein anderes Playbook einbindet

Dieses einfache Playbook bindet nur ein anderes Playbook ein und läuft auf localhost.

include_playbook.yaml
---
- name: Initial System Setup
  hosts: localhost

- name: Include the other playbook
  ansible.builtin.import_playbook: my-sub-playbook.yaml

Check out similar posts by category: Ansible