Ansible playbook常用指令格式

---

- hosts: ipse1


  tasks:

   - name: "user del"

     command: userdel -r huangqx

     command: userdel -r daipj

     command: userdel -r zhangjq

     command: userdel -r zhoulj

     comamnd: userdel -r zhuyt

     command: userdel -r jizt

     command: cat /etc/passwd

你可能感兴趣的:(Ansible playbook常用指令格式)