Hi, Vladimir! I have some question:
1.I normalized all TMP to /tmp/ansible everywhere in ansible.conf. I connect to hp-ux by root user with authorized_keys (on hp-ux side) and root not root privelegies in /tmp/ansible after connect? Error : "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions....." still the same. 2.After setting pipelining = True in ansible.conf, i get no answer from hp-ux host: [root@ansible ~]# ansible -vvv integrity -m ping ansible 2.8.2 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Jun 20 2019, 20:27:34) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] Using /etc/ansible/ansible.cfg as config file host_list declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method script declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method auto declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method [DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by default, this will change, but still be user configurable on deprecation. This feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details Parsed /etc/ansible/hosts inventory source with ini plugin META: ran handlers Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/ping.py Pipelining is enabled. <hpux> ESTABLISH SSH CONNECTION FOR USER: root <hpux> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/tmp/ansible/cp/5b8e4f6a37 hpux '/bin/sh -c '"'"'/usr/local/bin/python2.7 && sleep 0'"' ....And no errors...no output... nothing... воскресенье, 18 августа 2019 г., 15:47:36 UTC+3 пользователь Vladimir Botka написал: > > On Sun, 18 Aug 2019 14:25:00 +0200 > Vladimir Botka <[email protected] <javascript:>> wrote: > > > On Sun, 18 Aug 2019 04:32:33 -0700 (PDT) > > Владимир Куликов <[email protected] <javascript:>> wrote: > > > (HP-UX 11.31 ia64 server with installed Python 2.7.16) > > > I get an error: > > > hpux | UNREACHABLE! => { > > > "changed": false, > > > "msg": "Authentication or permission failure. In some cases, you > may > > > have been able to authenticate and did not have permissions on the > target > > > directory. Consider changing the remote tmp path in ansible.cfg to a > path > > > rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` > echo > > See: > Failure using become on HP-UX: Failed to set file mode on remote files > #18391 > https://github.com/ansible/ansible/issues/18391 > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e5a5fb52-2094-4412-bbc3-740d29f693a2%40googlegroups.com.
