官术网_书友最值得收藏!

The service management module

This enables Linux system service management: starting, stopping, reloading, restarting, and enabling its system boot start. As an example, we will make sure that all hosts have ntp (that is, network time service) running and enabled:

    - name: start and enable ntp service
service:
name: ntp
state: started
enabled: yes
主站蜘蛛池模板: 海淀区| 泰安市| 阜阳市| 大田县| 麟游县| 三门县| 丰城市| 清镇市| 即墨市| 萨嘎县| 巴东县| 龙游县| 彝良县| 志丹县| 柯坪县| 长葛市| 甘肃省| 南汇区| 湖南省| 长宁县| 大竹县| 湘乡市| 吉林市| 哈尔滨市| 拉萨市| 进贤县| 阳原县| 田东县| 开远市| 泽普县| 专栏| 永兴县| 洪雅县| 山西省| 汉阴县| 海兴县| 广东省| 金山区| 乌鲁木齐县| 新和县| 阜宁县|