aboutsummaryrefslogtreecommitdiffstats
path: root/roles/root_password/README.md
blob: d02980e2a9c8edbaeec77d97cc7c0af38d2258b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Root Password
=============

Description
-----------

The `root_password` role sets the password for the root user.


Variables
---------

This role **accepts** the following variables:

Variable             | Default | Description
---------------------|---------|------------
`root_password`      |    | Root password
`root_password_salt` | `''`    | Salt for SHA-512 hash


Usage
-----

Example playbook:

````yaml
- name: set password for root user
  hosts: all
  roles:
    - role: root_password
      vars:
        root_password: s3cret
        root_password_salt: changeme
````