CATEGORY
运维
沿着一个主题,发现更多值得阅读的内容。
364篇公开文章
继续探索
主题文章
分类归档 · 第 16 页ansible hostname模块
一、hostname模块 hostname模块用于修改主机名(注意: 它不能修改/etc/hosts文件) https://docs.ansible.com/ansible/latest/modules/hostname_module.html#hostname-module 将192.168.98.203机器的主机名
继续阅读 ↗ansible copy模块
一、copy模块(重点) copy模块用于对文件的远程拷贝操作(如把本地的文件拷贝到远程的机器上) https://docs.ansible.com/ansible/latest/modules/copy_module.html#copy-module 参数 说明 src 文件源路径 dest 目标路径 content
继续阅读 ↗