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

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
主站蜘蛛池模板: 盐津县| 五河县| 凌云县| 淮北市| 涞源县| 镇沅| 疏勒县| 中方县| 湖州市| 托克逊县| 肇州县| 嵊州市| 白水县| 龙泉市| 临沧市| 敦化市| 隆回县| 库尔勒市| 连江县| 内黄县| 绥宁县| 滁州市| 新建县| 镇康县| 文登市| 红原县| 隆昌县| 海晏县| 渑池县| 新闻| 霞浦县| 镇江市| 凤翔县| 武城县| 晋州市| 浦城县| 南皮县| 建德市| 万山特区| 武夷山市| 岚皋县|