ansible-playbook 快速入门
管理用户密码:
---
- hosts: test
tasks:
- name: changed password
shell: echo root:123456 | chpasswd
remote_user: root
管理用户密码:
---
- hosts: test
tasks:
- name: changed password
shell: echo root:123456 | chpasswd
remote_user: root