Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 556 Bytes

ansible.md

File metadata and controls

24 lines (17 loc) · 556 Bytes

Ansible

Debugging

# Display local facts
ansible -m debug -a "var=hostvars[inventory_hostname]" $host

# Display facts from all hosts
ansible all -m setup

Ansible Galaxy

# Create role
ansible-galaxy init role_name