Files
ansible/README.md
2023-08-20 02:17:08 +01:00

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