摘要:
首先我们先看一个ansible-playbook,作用是用来列出目标主机的主机名,简单的测试作用 [ansible@qq-5201351 ~]$ cat linuxtext.yaml - hosts: "{{hostid}}" tasks: - name: 1.Query the hostname 阅读全文
posted @ 2022-10-11 19:10 520_1351 阅读(3357) 评论(0) 推荐(0)
|
摘要:
首先我们先看一个ansible-playbook,作用是用来列出目标主机的主机名,简单的测试作用 [ansible@qq-5201351 ~]$ cat linuxtext.yaml - hosts: "{{hostid}}" tasks: - name: 1.Query the hostname 阅读全文
posted @ 2022-10-11 19:10 520_1351 阅读(3357) 评论(0) 推荐(0) |
||