ansible-playbooks/examples/remote
Joao Victor Portal 2b875db573 Fix first password change in Ansible for Debian
For Debian, when the user is prompted to change the password on first
login, the strings printed are different from CentOS: Debian prints
"Current password" while CentOS prints "(current) UNIX password". This
difference cause some Ansible tasks that change password to fail. The
same problem was corrected for LDAP in
https://review.opendev.org/c/starlingx/ansible-playbooks/+/863699 .

One of the cases where the password is changed by Ansible tasks is
during bootstrap of a subcloud using Redfish Platform Management
Service.

Test Plan:

PASS: Successfully bootstrap a subcloud using Redfish, checking in the
Ansible log that the first password was successfully changed.

Closes-Bug: 1996196
Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com>
Change-Id: Id3b47224ceb66f834356a37c5746ca1890f6b6bb
2022-11-10 14:59:44 +00:00
..
hostname1.yml Improve bootstrap failure recovery in replay 2019-07-09 11:49:55 -04:00
hostname2.yml Improve bootstrap failure recovery in replay 2019-07-09 11:49:55 -04:00
hosts Update repo README, add compatibility check, sample config files 2019-06-27 08:11:58 -04:00
sample_secrets.yml Fix first password change in Ansible for Debian 2022-11-10 14:59:44 +00:00
site.yml Improve bootstrap failure recovery in replay 2019-07-09 11:49:55 -04:00