Ansible

Posted February 23, 2021 by Adrian Wyssmann

Commands

Run a command on multiple instances at once - using servers group from inventory.yml

ansible -u ansible -i inventory.yml servers -m shell -a "ls /var"

Edit this page