ansible-playbook时间:2022-12-14 15:56:21 ---- name: change configuration gather_facts: false hosts: logstash remote_user: elk tasks: - name: copy configuration copy: src: "/home/aaa/elk/test.txt" dest: "/opt/elk/test.txt" owner: elk group: elk mode: 0640...