Power

 View Only
  • 1.  Ansible

    Posted Mon December 04, 2023 12:49 PM

    I am getting the error below when trying to get the version for ansible on a power server running AIX 7.2. Anyone seen this before? Any help would be appreciated
    ERROR: Ansible could not initialize the preferred locale: unsupported locale setting

    My current locale setting. I
    # locale
    LANG=en_US
    LC_COLLATE="en_US"
    LC_CTYPE="en_US"
    LC_MONETARY="en_US"
    LC_NUMERIC="en_US"
    LC_TIME="en_US"
    LC_MESSAGES="en_US"
    LC_ALL=



    ------------------------------
    Rita Esiele
    ------------------------------


  • 2.  RE: Ansible

    Posted Tue December 05, 2023 10:35 AM

    Unfortunately the default LANG setting doesn't work for Anisble. You will need to install two filesets.

     

    bos.loc.com.utf

    bos.loc.utf.EN_US

     Then set LANG to en_US.UTF-8.

     



    ------------------------------
    Mark Steele
    ------------------------------



  • 3.  RE: Ansible

    Posted Tue December 05, 2023 11:13 AM

    Thank you very much Mark.

    That resolved the issue.



    ------------------------------
    Rita Esiele
    ------------------------------