Add ansible roles + templates
This commit is contained in:
11
ansible/playbooks/debug.yml
Normal file
11
ansible/playbooks/debug.yml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
# Playbook to debug and display variables
|
||||
|
||||
- name: Display all variables/facts known for a host
|
||||
hosts: all
|
||||
become: no
|
||||
tasks:
|
||||
- name: Display all variables/facts known for a host
|
||||
tags: debug_info
|
||||
debug:
|
||||
var: hostvars[inventory_hostname]
|
Reference in New Issue
Block a user