ansible-playbook 快速入门

管理用户密码:

---
- hosts: test
  tasks:
    - name: changed password
      shell: echo root:123456 | chpasswd
      remote_user: root

 

posted @ 2017-07-03 18:14  三木燕  阅读(182)  评论(0编辑  收藏  举报