Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include the ability to do a quick syntax check #1595

Closed
eburgueno opened this issue Aug 23, 2023 · 0 comments · Fixed by #1627
Closed

Include the ability to do a quick syntax check #1595

eburgueno opened this issue Aug 23, 2023 · 0 comments · Fixed by #1627
Assignees
Labels
enhancement New feature or request

Comments

@eburgueno
Copy link

ISSUE TYPE
  • Feature Idea
SUMMARY

ansible-playbook provides the --syntax-check flag to quickly test a playbook's correctness. At the moment, this fails if the playbook uses collections that will only be available in the EE but are not in the control host (for example, using ansible.posix in a task).

ansible-playbook has no ability to specify an EE, so it should be possible to do a syntax-check from navigator. Something like ansible-navigator syntax-check <playbook> [--eei etc] or similarly suited subcommand.

@eburgueno eburgueno added enhancement New feature or request new New issues and PRs to triaged labels Aug 23, 2023
@ssbarnea ssbarnea removed the new New issues and PRs to triaged label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants