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

Add a scheme to check hosts.yaml #258

Open
RandyLevensalor opened this issue Jun 28, 2019 · 1 comment
Open

Add a scheme to check hosts.yaml #258

RandyLevensalor opened this issue Jun 28, 2019 · 1 comment
Labels
ansible Refactor with ansible

Comments

@RandyLevensalor
Copy link
Collaborator

Check the input in hosts.yaml with a proper schema.

@RandyLevensalor RandyLevensalor added the ansible Refactor with ansible label Jun 28, 2019
@willtome
Copy link
Collaborator

Using the proposed hosts structure from #253 the syntax of the inventory will be validated by Ansible. Within the playbook, the assert and fail module could be used in conjunction with Magic Variables can be used to validate the correct groups exist. Once settled on, documentation of the hosts file format would be helpful as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible Refactor with ansible
Projects
None yet
Development

No branches or pull requests

2 participants