CATEGORY
Ansible
沿着一个主题,发现更多值得阅读的内容。
19篇公开文章
主题文章
分类归档 · 第 1 页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
继续阅读 ↗ansible command与shell模块
ansible command与shell模块 两个模块都是用于执行linux命令的,这对于命令熟悉的工程师来说,用起来非常high。 shell模块与command模块差不多(command模块不能执行一些类似$HOME,>,<,|等符号,但shell可以) https://docs.ansible.com/ansi
继续阅读 ↗