标签:ansible

ansible-playbook部署jdk1.8文档

张 佃栋 linux运维 2021-02-25 69 次浏览 , , , ,
- hosts: webserver remote_user: root become: no become_method: sudo become_user: root tasks: - name: copy jdk to remote hosts copy: src=jdk1.8.0.tar.gz dest=/tmp/ - name: tar jdk shell: tar zxf /tmp/jdk1.8....
回顶部