Last active
August 26, 2018 18:15
-
-
Save Zodzie/4b42c35ff95844bf701865f132352c5d to your computer and use it in GitHub Desktop.
Start Command and Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/ansible-playbook -vvvvv /apps/provisioning/ansible/playbook.yml -i /apps/provisioning/ansible/inventory -e action=configure --check | |
FULLL ERROR: | |
TASK [haproxy : template] **************************************************************************************************************************************** | |
task path: /apps/provisioning/ansible/roles/haproxy/tasks/configure.yml:1 | |
<208> ESTABLISH SSH CONNECTION FOR USER: root | |
<208> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s) | |
<ip-addr> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/.ssh/home") | |
<ip-addr> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no) | |
<ip-addr> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=root) | |
<ip-addr> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10) | |
<ip-addr> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/b589f5592a) | |
<ip-addr> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/root/.ssh/home"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/b589f5592a ip-addr '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
<ip-addr> (0, '/root\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 24683\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n') | |
<ip-addr> ESTABLISH SSH CONNECTION FOR USER: root | |
<ip-addr> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s) | |
<ip-addr> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/.ssh/home") | |
<ip-addr> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no) | |
<ip-addr> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=root) | |
<ip-addr> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10) | |
<ip-addr> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/b589f5592a) | |
<ip-addr> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/root/.ssh/home"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/b589f5592a ip-addr '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1535306703.67-232964828092972 `" && echo ansible-tmp-1535306703.67-232964828092972="` echo /root/.ansible/tmp/ansible-tmp-1535306703.67-232964828092972 `" ) && sleep 0'"'"'' | |
<ip-addr> (0, 'ansible-tmp-1535306703.67-232964828092972=/root/.ansible/tmp/ansible-tmp-1535306703.67-232964828092972\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 24683\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n') | |
looking for "haproxy.cfg.j2" at "/apps/provisioning/ansible/roles/haproxy/templates/haproxy.cfg.j2" | |
<ip-addr> ESTABLISH SSH CONNECTION FOR USER: root | |
<ip-addr> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s) | |
<ip-addr> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/.ssh/home") | |
<ip-addr> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no) | |
<ip-addr> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=root) | |
<ip-addr> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10) | |
<ip-addr> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/b589f5592a) | |
<ip-addr> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/root/.ssh/home"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/b589f5592a ip-addr '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1535306703.67-232964828092972/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<ip-addr> (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 24683\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n') | |
fatal: [ip-addr]: FAILED! => { | |
"changed": false, | |
"msg": "AnsibleUndefinedVariable: 'host' is undefined" | |
} | |
to retry, use: --limit @/apps/provisioning/ansible/playbook.retry | |
PLAY RECAP ******************************************************************************************************************************************************* | |
ip-addr : ok=2 changed=0 unreachable=0 failed=1 | |
[root@kubernetes ansible]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment