摘要:
playbook是ansible用于配置部署的语言。使用YAML格式。####示例```yaml---- hosts: webservers vars: http_port: 80 max_clients: 200 remote_user: root tasks: - name:... 阅读全文
posted @ 2014-12-31 11:17
北京涛子
阅读(472)
评论(0)
推荐(0)
摘要:
playbook是ansible用于配置部署的语言。使用YAML格式。####示例```yaml---- hosts: webservers vars: http_port: 80 max_clients: 200 remote_user: root tasks: - name:... 阅读全文
posted @ 2014-12-31 11:17
北京涛子
阅读(472)
评论(0)
推荐(0)
摘要:
默认位置```bash/etc/ansible/hosts```标准```bashmail.example.com[webservers]foo.example.combar.example.com[dbservers]one.example.comtwo.example.comthree.exam... 阅读全文
posted @ 2014-12-31 10:20
北京涛子
阅读(872)
评论(0)
推荐(0)
|