You can execute a module with parameters as a one-liner, just like you can do in Python. Example - Python: `python -m unittests` Example - Ansible: `ansible all -i dev_servers -m copy -a "src=daemon.json dest=/home/mateusz/daemon.json" --become` In order to run a command on a server, you could use `shell` module instead. `ansible all -i dev_servers -m shell -a "ls -l /home/mateusz" --become` `—-become` allows you to run specific command using privileged `sudo` mode. ### See also 1.