You've already forked change-root-password
20 lines
390 B
Markdown
20 lines
390 B
Markdown
# change-root-password
|
|
|
|
Role for change root password and sett i attr in `/etc/shadow` file.
|
|
|
|
## Deploy example
|
|
|
|
```yaml
|
|
roles:
|
|
- role: change-root-password
|
|
root_password: "{{ something | password_hash('sha512') }}"
|
|
```
|
|
|
|
## Available parameters
|
|
|
|
### Main
|
|
|
|
| Param | Default | Description |
|
|
| -------- | -------- | -------- |
|
|
| `root_password` | `-` | Root password in sha512. |
|