用Ansible 採集機器硬件信息

1、先寫一個模板 [[email protected] ansible]$ vim hwhosts.yml --- - name: create /mnt/hwhosts hosts: all tasks: - name: use templates template: src: templates/hwhosts.j2
相關文章
相關標籤/搜索