jinjia2
2019-05-07 17:12 divl 阅读(258) 评论(0) 编辑 收藏 举报ansible-playbook --become --become-method=su -K copy.yml
- hosts: web remote_user: ansible tasks: - name: copy file template: src=elasticsearch.yml.jinja2 dest=/opt/elasticsearch-6.6.2/config/elasticsearch.yml