![Major Hayden](/assets/img/avatar_default.png)
This task will check for accounts with UID that aren't root. No action is taken on these accounts, but the playbook will fail with an error message. Change-Id: I2cd2a24c64e4139ce21fbe30107346e30b280e62
8 lines
379 B
ReStructuredText
8 lines
379 B
ReStructuredText
The Ansible tasks will search for accounts in ``/etc/passwd`` that have UID 0
|
|
that aren't the normal root account. If any matching accounts are found, a
|
|
warning is printed to stdout and the Ansible play will fail.
|
|
|
|
No action is taken on those accounts as that action may disrupt a production
|
|
environment. Deployers are strongly urged to use ``sudo`` for these types of
|
|
actions.
|