Ansible
Create inventory
server1 ansible_host=10.1.0.50 ansible_user=jommyCreate ansible.cfg
[defaults]
inventory = inventoryCommands
ansible all --list-hosts
ansible all -m ping
ansible all -m gather_facts
Create inventory
server1 ansible_host=10.1.0.50 ansible_user=jommyCreate ansible.cfg
[defaults]
inventory = inventoryCommands
ansible all --list-hosts
ansible all -m ping
ansible all -m gather_facts