User Tools

Site Tools


ansible:services

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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
ansible/services.txt · Last modified: 2024/11/10 08:00 by 127.0.0.1