Think before you speak, read before you think.

ansible使用笔记-改主机名

针对所有主机修改主机名

- hosts: all
 hostname: name={{ hostname }}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *