---
- name: Test Wrapper Playbook
hosts: all
tasks:
- name: Storage console
debug:
msg: "Test Wrapper Play book"
tags:
- always
- name: Precheck Storage Console
import_playbook: "playbooks/test_playbook.yml"
ERROR! this task 'import_playbook' has extra params, which is only allowed in the following modules: shell, win_shell, include_vars, add_host, raw, include_role, meta, set_fact, include, import_tasks, script, import_role, include_tasks, group_by, command, win_command
The error appears to have been in '/scratch/xxxx/fr-crosscomponent-role/playbooks/test_wrapper.yml': line 13, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Precheck Storage Console
^ here