Ansible 獲取主機信息模塊setup、獲取文件詳細信息模塊stat(學習筆記十)

setup 一、獲取setup的全部信息,獲取的信息有上百條: ansible all -m setup "ansible_facts": { "ansible_all_ipv4_addresses": [ "172.xx.xx.xxx" ], "ansible_all_ipv6_addresses": [ "fe80::250:56ff:febc:5e1d" ], ...............
相關文章
相關標籤/搜索