Can anyone help me to set umask 0022. 
I'm always getting 0027 after executing playbook run.

Error:

fatal: [********]: FAILED! => {"changed": true, "cmd": "./installer-binary.run 
--mode text --disable_glibcxx_version_check 1", "delta": "0:00:30.128584", 
"end": "2020-01-08 18:53:55.234070", "msg": "command exceeded timeout", "rc": 
null, "start": "2020-01-08 18:53:25.105486", "stdout": "\r\r\nError: There has 
been an error.\r\r\nThe installation has detected that the current umask is set 
to permissions of \r\r\n0027, the installation is now exiting. You should 
modify your umask to at least \r\r\n0022 before launching the installer. After 
the installation has completed, reset \r\r\nthe umask permissions to your 
original values.\r\r\nPress [Enter] to continue:", "stdout_lines": ["", "", 
"Error: There has been an error.", "", "The installation has detected that the 
current umask is set to permissions of ", "", "0027, the installation is now 
exiting. You should modify your umask to at least ", "", "0022 before launching 
the installer. After the installation has completed, reset ", "", "the umask 
permissions to your original values.", "", "Press [Enter] to continue:"]}



here's my task(s):

      - name: Change Umask to 0022 to make installer working
        shell: umask 0022 && umask

      - name: Generic question with multiple different responses
        expect:
          echo: yes
          command: ./{{ version }} --mode text --disable_glibcxx_version_check 1
          chdir: /home/app/installers/
          responses:
            Question:
              'Please choose an option': '2'
              '\[\/opt\/app\]': '\n'
              'Backup Directory \[\/opt\/app\]': '/home/app/backup/'
              'Password ': 'Password'
              'Do you want to continue\? \[Y\/n\]': 'y'

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ad4060b4-3275-4a64-bc55-d5762b743d61%40googlegroups.com.

Reply via email to