... install ansible /etc/ansible/ansible.cfg 主配置文件 /etc/ansible/hosts 主机清单 /etc/ansible/roles 角色配置文件 /usr/bin/ansible 主程序 /usr/bin/ansible-doc 文档 /usr/bin/ansible ...
node_exporter.yml - hosts: 192.168.0.16 user: root gather_facts: false tasks: - name: install node_exporter unarchive: src=node_exporter-1.1.2.linux-amd64.tar.gz dest=/usr/local/ ...
... /ceph.repo dest=/etc/yum.repos.d/' ansible k8s -m yum -a 'name=ceph-common' ansible k8s -m copy -a 'src=/root ...
1