ansible使用

常用ad hoc命令, 如:
ansible raleigh -m shell -a 'echo $TERM'
ansible webservers -m service -a "name=httpd state=restarted"


from: http://ansible-tran.readthedocs.org/en/latest/docs/intro_adhoc.html
posted @ 2016-04-13 11:18  圆旭  阅读(127)  评论(0编辑  收藏  举报