摘要: ansible常用模块用法 ansible常用模块用法 2015-07-21 10:25 24458人阅读 评论(1) 收藏 举报 2015-07-21 10:25 24458人阅读 评论(1) 收藏 举报 分类: Linux(44) ansible 分类: Linux(44) ansible 版权 阅读全文
posted @ 2017-06-16 09:08 小泽哥 阅读(179) 评论(0) 推荐(0) 编辑
摘要: ansible模块authorized_key 示例: # 新增公钥内容到服务器用户家目录的.ssh目录的authorized_keys文件 没有则创建authorized_keys文件 state: (1) present 添加 (2) absent 删除 - hosts: test gather 阅读全文
posted @ 2017-06-16 09:04 小泽哥 阅读(575) 评论(0) 推荐(0) 编辑
摘要: ansible 下lineinfile详细使用 时间 2016-12-13 18:02:31 51CTO推荐博文 原文 http://zouqingyun.blog.51cto.com/782246/1882367 主题 Ansible SELinux 正则表达式 时间 2016-12-13 18: 阅读全文
posted @ 2017-06-16 08:55 小泽哥 阅读(1389) 评论(0) 推荐(0) 编辑