Ansible
地铁昌平线
这个作者很懒,什么都没留下…
展开
-
ansible批量禁止root用户登录
-- shell 模块支持正则 查看修改后的内容是否有变化。以下Ansible-Ploybook功能: 🚫禁止Root用户登录。--- lineinfile 模块替换前备份(格式为。--- systemd 服务模块(原创 2023-12-05 09:21:45 · 381 阅读 · 0 评论 -
Ansible批量清理日志
此处省略。原创 2023-12-05 09:21:00 · 358 阅读 · 0 评论 -
Ansible 基础巡检
1.通过ansible 每天对线上的机器磁盘、内存、负载进行巡检。原创 2023-12-05 09:19:32 · 406 阅读 · 0 评论