Ansible Tutorial - Ad-Hoc Command Service Management Using Ansible modules Service and systemd

preview_player
Показать описание
In This Ansible tutorial will give you a complete overview on how to use ad hoc command in Ansible. We use ansible modules systemd and ansible service modules for service management in centos and Ubuntu.

Visit Web :

----------------------
Follow on
----------------------
# Facebook

# Google Plus

# Twitter

# Visit Website:

Рекомендации по теме
Комментарии
Автор

ansible service module for service management

LinuxTopic
Автор

how can i stop ssh service using service module in ansible playbook
---
- name: stop the ssh
service:
name: ssh
state: stopped
whenever i try this, it never stops the service ssh status gives output *ssh d service running. but through command module i can stop the service using, let me know, how can i stop ssh by using service module in playbook?? All type of privilege escalations are not working, although i have given become and become_method privileges in mainplaybook.yml

kintusingh