Add support for resetting the admin password 72/84472/5
authorPetr Ospalý <p.ospaly@partner.samsung.com>
Mon, 8 Apr 2019 06:39:41 +0000 (08:39 +0200)
committerMichal Ptacek <m.ptacek@partner.samsung.com>
Wed, 24 Apr 2019 14:04:17 +0000 (14:04 +0000)
commit3a6558a1af5ba14bc6614d94f768dd1a1fc86d9b
tree9c442934b9dbe7dfb5eedc25b27652265a043d79
parent72b09b1a46200b6544600ff2432693f0b43c3918
Add support for resetting the admin password

The module rancher1_api can now reset an admin password of the default
admin account (account_id: '1a1') and keep local authentication enabled.

By default the authentication is not enabled, because the ansible
module rancher_k8s_environment.py is not idempotent and it would need to
be rewritten.

Change-Id: Ib432537651b91216c32438ec1233dba3602e3faf
Issue-ID: OOM-1734
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
ansible/library/rancher1_api.py
ansible/roles/rancher/defaults/main.yml
ansible/roles/rancher/tasks/rancher_server.yml