即可: yum install ansible /etc/ansible/ansible.cfg 主配置文 … ssh应答: vim /etc/ansible/ansible.cfg host_key_checking=false … 目根目录 ├── ansible.cfg # Ansible配置文件 ├── inventory
'name=ceph-common' ansible k8s -m copy -a ' … .keyring dest=/etc/ceph/' ansible k8s -m copy -a ' … .conf dest=/etc/ceph/' ansible k8s -m command -a '
_connect_timeout 30 router_id {{ ansible_hostname }} vrrp_skip_check_adv
node_exporter方式一: 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/ - name: create link file: path=/usr/local/node_exporter ...