Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lenards/explore-gv
https://github.com/lenards/explore-gv
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lenards/explore-gv
- Owner: lenards
- Created: 2016-09-02T02:57:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-02T03:08:55.000Z (over 8 years ago)
- Last Synced: 2024-11-13T05:35:33.777Z (2 months ago)
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# explore-gv
A small example for exploring `group_vars`.
## show the variables for a host
```
ansible -m debug -a "var=hostvars['hostname']" localhost
```
Example: [debug](http://docs.ansible.com/ansible/faq.html#how-do-i-see-all-the-inventory-vars-defined-for-my-host)http://docs.ansible.com/ansible/setup_module.html
## _dump-all_
I have included a `roles/dump-all` from [CoderWall](https://coderwall.com/p/13lh6w/dump-all-variables).
## playbook debugger / `strategy: debug`
https://docs.ansible.com/ansible/playbooks_debugger.html