14 lines
417 B
Markdown
14 lines
417 B
Markdown
# Run Ansible Playbook Test
|
|
- ansible all --key-file ~/.ssh/ansible -i inventory -m ping
|
|
|
|
# Run Ansible Playbook Once we have the .cfg Created
|
|
- ansible all -m ping
|
|
|
|
# Show our Servers List
|
|
- ansible all --list-hosts
|
|
|
|
# Shows all Data from the servers
|
|
- ansible all -m setup
|
|
- ansible all -m setup -a 'filter=ansible_distribution*'
|
|
- ansible all -m gather_facts
|
|
- ansible all -m gather_facts --limit root@49.13.21.211 |