随笔分类 - ansible
摘要:playbook的基础组件: Hosts:运行指定任务的目标主机; remoute_user: 在远程主机上执行任务的用户; sudo_user: tasks:任务列表 模块,模块参数; 格式: (1) action:module arguments (2) module:arguments 注意:
阅读全文
摘要:ansible的常用模块: 获取模块列表: ansible-doc -l command模块(省略):在远程主机运行命令; shell模块:在远程主机在shell进程下运行命令,支持shell特性,如管道等; copy模块:copies files to remote locations 用法: (
阅读全文
摘要:系统安装: bare metal:pxe,cobbler virtual machine: Configuration: puppet(ruby) saltstack(python) Command and Control: fabric func 程序发布:1.不能影响用户体验,2.系统不能停机,
阅读全文

浙公网安备 33010602011771号