From 7763e4c507873c5ab90ae7b49b5ee33c3234f0c1 Mon Sep 17 00:00:00 2001 From: Karla Felix Date: Thu, 9 May 2024 14:19:23 -0300 Subject: [PATCH] Update default password This commit will be updating default password occurrences on ansible-playbooks files to comply with new password rules, that will be: - Minimum 12 characters - At least 1 Uppercase letter - At least 1 number - At least 1 special character - Cannot reuse past 5 passwords - Default password expiry period should be set to 90 days. The default passwords are updated as follows: St8rlingX* -> St8rlingXCloud* Boot5trap*1234 -> Boot5trapCloud* Test Plan: PASS: Run build-pkgs -c -p playbookconfig Task: 50001 Story: 2011084 Change-Id: Ib6c1fd96f335bfb53e71da48966baa4246649a1f Signed-off-by: Karla Felix --- examples/remote/hosts | 4 ++-- examples/remote/sample_secrets.yml | 10 +++++----- .../src/playbooks/host_vars/backup-restore/default.yml | 6 +++--- .../src/playbooks/host_vars/bootstrap/default.yml | 4 ++-- .../playbooks/host_vars/upgrade-platform/default.yml | 4 ++-- playbookconfig/src/playbooks/hosts | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/remote/hosts b/examples/remote/hosts index 63aa7d45e..93b53787e 100644 --- a/examples/remote/hosts +++ b/examples/remote/hosts @@ -11,5 +11,5 @@ all: vars: ansible_ssh_user: sysadmin - ansible_ssh_pass: St8rlingX*1234 - ansible_become_pass: St8rlingX*1234 + ansible_ssh_pass: St8rlingXCloud* + ansible_become_pass: St8rlingXCloud* diff --git a/examples/remote/sample_secrets.yml b/examples/remote/sample_secrets.yml index d0dfc2ff8..9b45afe17 100644 --- a/examples/remote/sample_secrets.yml +++ b/examples/remote/sample_secrets.yml @@ -10,7 +10,7 @@ # can be placed in the _secrets.yml where # applicable. vault_admin_username: stx-admin -vault_admin_password: Boot5trap*1234 +vault_admin_password: Boot5trapCloud* # The following settings are usually common to all hosts, in which # case they can be placed in the secrets.yml file. @@ -19,8 +19,8 @@ vault_password_change_responses: sysadmin*: 'sysadmin' \(current\) UNIX password: 'sysadmin' Current password: 'sysadmin' - (?i)New password: 'Boot5trap*1234' - (?i)Retype new password: 'Boot5trap*1234' + (?i)New password: 'Boot5trapCloud*' + (?i)Retype new password: 'Boot5trapCloud*' -ansible_become_pass: Boot5trap*1234 -ansible_ssh_pass: Boot5trap*1234 +ansible_become_pass: Boot5trapCloud* +ansible_ssh_pass: Boot5trapCloud* diff --git a/playbookconfig/src/playbooks/host_vars/backup-restore/default.yml b/playbookconfig/src/playbooks/host_vars/backup-restore/default.yml index 4b048f51d..bfca559f9 100644 --- a/playbookconfig/src/playbooks/host_vars/backup-restore/default.yml +++ b/playbookconfig/src/playbooks/host_vars/backup-restore/default.yml @@ -8,7 +8,7 @@ # vault_admin_password). # admin_username: admin -admin_password: St8rlingX*1234 +admin_password: St8rlingXCloud* # INITIAL PASSWORD CHANGE RESPONSE SEQUENCE # ========================================= @@ -31,8 +31,8 @@ password_change_responses: sysadmin*: 'sysadmin' \(current\) UNIX password: 'sysadmin' Current password: 'sysadmin' - (?i)New password: 'St8rlingX*1234' - (?i)Retype new password: 'St8rlingX*1234' + (?i)New password: 'St8rlingXCloud*' + (?i)Retype new password: 'St8rlingXCloud*' # OVERRIDE FILES DIRECTORY # ======================== diff --git a/playbookconfig/src/playbooks/host_vars/bootstrap/default.yml b/playbookconfig/src/playbooks/host_vars/bootstrap/default.yml index ec636b992..701b9310a 100644 --- a/playbookconfig/src/playbooks/host_vars/bootstrap/default.yml +++ b/playbookconfig/src/playbooks/host_vars/bootstrap/default.yml @@ -471,8 +471,8 @@ password_change_responses: sysadmin*: 'sysadmin' \(current\) UNIX password: 'sysadmin' Current password: 'sysadmin' - (?i)New password: 'St8rlingX*1234' - (?i)Retype new password: 'St8rlingX*1234' + (?i)New password: 'St8rlingXCloud*' + (?i)Retype new password: 'St8rlingXCloud*' # OVERRIDE FILES DIRECTORY # ======================== diff --git a/playbookconfig/src/playbooks/host_vars/upgrade-platform/default.yml b/playbookconfig/src/playbooks/host_vars/upgrade-platform/default.yml index ac57ba103..bccd5373b 100644 --- a/playbookconfig/src/playbooks/host_vars/upgrade-platform/default.yml +++ b/playbookconfig/src/playbooks/host_vars/upgrade-platform/default.yml @@ -20,8 +20,8 @@ password_change_responses: sysadmin*: 'sysadmin' \(current\) UNIX password: 'sysadmin' Current password: 'sysadmin' - (?i)New password: 'St8rlingX*' - (?i)Retype new password: 'St8rlingX*' + (?i)New password: 'St8rlingXCloud*' + (?i)Retype new password: 'St8rlingXCloud*' # OVERRIDE FILES DIRECTORY # ======================== diff --git a/playbookconfig/src/playbooks/hosts b/playbookconfig/src/playbooks/hosts index f3204ae94..c748cda29 100644 --- a/playbookconfig/src/playbooks/hosts +++ b/playbookconfig/src/playbooks/hosts @@ -17,5 +17,5 @@ all: vars: ansible_ssh_user: sysadmin - ansible_ssh_pass: St8rlingX*1234 - ansible_become_pass: St8rlingX*1234 + ansible_ssh_pass: St8rlingXCloud* + ansible_become_pass: St8rlingXCloud*