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

ansible-playbook wrapper to check if examples variables are unset #110

Open
martbhell opened this issue Apr 3, 2016 · 2 comments
Open

Comments

@martbhell
Copy link
Contributor

In examples/group_vars/ we have lots of variables we expect sites to copy .. manually into their group_vars/ directories.

It would be nice to have a script/wrapper that one can run to indicate if there are any variables in examples/ which aren't. Maybe an ansible-playbook wrapper the sites can use to run ansible?

@martbhell
Copy link
Contributor Author

Added a tool to fgci-ansible/tools/ with output that looks like:

$ bash tools/find_group_vars.sh 
variable dns_resolv_search is in examples/all but not in group_vars/all
variable hourly_update_level is in examples/all but not in group_vars/all
variable intDomain is in examples/all but not in group_vars/all
variable rdma_configure_single_port is in examples/compute but not in group_vars/compute
variable rdma_configure_single_port is in examples/login but not in group_vars/login
variable unconfigured_packages is in examples/login but not in group_vars/login
variable rdma_configure_single_port is in examples/nfs but not in group_vars/nfs

@VilleS1
Copy link
Contributor

VilleS1 commented Jul 17, 2019

Document this one.

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

No branches or pull requests

2 participants