ansible-playbook 配合yml文件,实现批量功能
一、copy功能yml文件:---- name: configure copy local file to remote_host hosts: all tasks: - name: copy yum config file copy: src: files/centos7.repo dest: /etc/yum.repos.d/执行...