Solaris and Linux
Sunday, April 7, 2024
How to restart the ssh service in all the hosts.
--- - name: restart ssh service in all the hosts. hosts: all become: true tasks: - name: sshd restart ansible.builtin.service: name: sshd state: restarted enabled: true
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment