Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lenards/explore-gv


https://github.com/lenards/explore-gv

Last synced: 8 days ago
JSON representation

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