9 lines
171 B
YAML
9 lines
171 B
YAML
|
---
|
||
|
- name: Remove root password for hosts
|
||
|
hosts: all
|
||
|
become: yes
|
||
|
tasks:
|
||
|
- name: Remove root password
|
||
|
ansible.builtin.command:
|
||
|
cmd: passwd -d root
|