Skip to content

Error running ansible-playbook #32

@tbennett6421

Description

@tbennett6421

Following the steps on https://pimp-my-box.readthedocs.io/en/latest/setup.html

When running ansible-playbook I get the following error.

❯ ansible-playbook -i hosts site.yml
ERROR! 'include' is not a valid attribute for a Play

The error appears to be in '/Users/user/pimp-my-box/site.yml': line 3, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

# All available playbooks
- include: common.yml
  ^ here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions