PARALLAX

import_playbook

Import another playbook at the document top level

Collection: builtin

Full Name: parallax.builtin.import_playbook

Aliases: import_playbook, ansible.builtin.import_playbook

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Import another playbook at the document top level

Parameters

NameTypeRequiredDefaultDescription
free_formstringyesPlaybook file to import at the top level, outside a tasks list

Example

yaml
- name: Import the database plays
  ansible.builtin.import_playbook: database.yml
Search
    ↑ ↓ move↵ openesc close