Services

ansible -m service -a "name=httpd state=stopped" localhost
ansible -m service -a "name=httpd state=started" localhost

copy a file

ansible -m copy -a "src=/tmp/test dest=/tmp/test2" localhost