mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Signed-off-by: joyceliu <joyceliu@yunify.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
9 lines
182 B
YAML
9 lines
182 B
YAML
---
|
|
- name: deal cloud-config users
|
|
loop: "{{ .cloud_config.users | toJson }}"
|
|
command: |
|
|
#!/bin/bash
|
|
|
|
# Delete user '{{ .item.name }}'
|
|
userdel -r "{{ .item.name }}"
|