
ansible:ai:e4332
Ad-hoc Ansible command to start the sshd service on all hosts
$ ansible all -m service -a 'name=sshd state=started' -b
try on your machine
Ad-hoc Ansible command to start the sshd service on all hosts
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- Modify the Ansible ad-hoc command you used to stop the sshd service to start the service. Change the state value from stopped.?