You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening this issue to further document the rationale for a recent change.
a colleague pointed out the following issue:
[cloud-user@myserver pre-install-playbook]$ ansible-playbook -i pre-install.inventory.ini viya_pre_install_playbook.yml --tags locale_check --check
PLAY [sas-all] *****************************************************************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************************************************************
ok: [deployTarget]
TASK [viya-ark.preinstall : WARNING: If you are running this playbook without the --check parameter, it WILL perform changes to your systems.] *********************************************
skipping: [deployTarget]
TASK [viya-ark.preinstall : Include vars of supported locales] *****************************************************************************************************************************
ok: [deployTarget]
TASK [viya-ark.preinstall : set_fact] ******************************************************************************************************************************************************
ok: [deployTarget]
TASK [viya-ark.preinstall : set_fact] ******************************************************************************************************************************************************
skipping: [deployTarget]
TASK [viya-ark.preinstall : Gather supported LOCALE language] ******************************************************************************************************************************
skipping: [deployTarget]
TASK [viya-ark.preinstall : debug] *********************************************************************************************************************************************************
fatal: [deployTarget]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/home/cloud-user/viya-ark/playbooks/pre-install-playbook/roles/viya-ark.preinstall/tasks/pre.locale_check.yml': line 26, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - debug:\n ^ here\n"}
to retry, use: --limit @/home/cloud-user/viya-ark/playbooks/pre-install-playbook/viya_pre_install_playbook.retry
PLAY RECAP *********************************************************************************************************************************************************************************
deployTarget : ok=3 changed=0 unreachable=0 failed=1
[cloud-user@myserver pre-install-playbook]$
However, when running without the --check flag, it works fine
[cloud-user@myserver pre-install-playbook]$ ansible-playbook -i pre-install.inventory.ini viya_pre_install_playbook.yml --tags locale_check
PLAY [sas-all] *******************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************
ok: [deployTarget]
TASK [viya-ark.preinstall : WARNING: If you are running this playbook without the --check parameter, it WILL perform changes to your systems.] ***********************************************************
Pausing for 60 seconds
(ctrl+C then'C' = continue early, ctrl+C then'A' = abort)
[viya-ark.preinstall : WARNING: If you are running this playbook without the --check parameter, it WILL perform changes to your systems.]
Press 'ctl+c' and then'A' to abort the process. The playbook will continue after 60 seconds:
Press 'C' to continue the play or 'A' to abort
ok: [deployTarget]
TASK [viya-ark.preinstall : Include vars of supported locales] *******************************************************************************************************************************************
ok: [deployTarget]
TASK [viya-ark.preinstall : set_fact] ********************************************************************************************************************************************************************
ok: [deployTarget]
TASK [viya-ark.preinstall : set_fact] ********************************************************************************************************************************************************************
skipping: [deployTarget]
TASK [viya-ark.preinstall : Gather supported LOCALE language] ********************************************************************************************************************************************
changed: [deployTarget]
TASK [viya-ark.preinstall : debug] ***********************************************************************************************************************************************************************
ok: [deployTarget] => {
"msg": "Current LANG: en_US"
}
TASK [viya-ark.preinstall : Assert currently configured language is supported.] **************************************************************************************************************************
ok: [deployTarget] => {
"changed": false,
"msg": "All assertions passed"
}
PLAY RECAP ***********************************************************************************************************************************************************************************************
deployTarget : ok=7 changed=1 unreachable=0 failed=0
[cloud-user@myserver pre-install-playbook]$
The text was updated successfully, but these errors were encountered:
Opening this issue to further document the rationale for a recent change.
a colleague pointed out the following issue:
However, when running without the --check flag, it works fine
The text was updated successfully, but these errors were encountered: