Skip to content
Snippets Groups Projects
Commit 36e777ff authored by nimrod's avatar nimrod
Browse files

Don't lock the root account (prevents certain tasks), instead just empty the password.

parent 9eb72b6c
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
- name: Disable root account
user:
name: root
expires: 1.0
password: ''
register: lock_root
changed_when: not (lock_root.stderr is defined and 'no changes' in lock_root.stderr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment