Robert_Stenger_
Oct 19, 2018Nimbostratus
Problems with Ansible connecting to i4600
Hello, I am new to F5 and to Ansible. I am trying to use Ansible to do a first time configuration of an i4600 in our lab. I can connect to the Big-IP via SSH and GUI, my playbook gathers facts but still fails to connect to devices to run modules.
Code
[user.name@sl7jump2 playbooks]$ ansible-playbook -i hosts onboard2.yaml
PLAY [Onboard Playbook] ************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************
ok: [10.12.118.173]
ok: [10.12.118.174]
TASK [Manage SSHD setting on BIG-IP] ***********************************************************************************************
[DEPRECATION WARNING]: Param 'server' is deprecated. See the module docs for more information. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Param 'user' is deprecated. See the module docs for more information. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Param 'password' is deprecated. See the module docs for more information. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Param 'validate_certs' is deprecated. See the module docs for more information. This feature will be removed
in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
fatal: [10.12.118.173 -> localhost]: FAILED! => {"changed": false, "msg": "Unable to connect to ['10.12.118.173', '10.12.118.174'] on port 443. The reported error was \"HTTPSConnectionPool(host=\"'10.12.118.173',%20'10.12.118.174'\", port=443): Max retries exceeded with url: /mgmt/shared/authn/login (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 503 Service Unavailable',)))\"."}
fatal: [10.12.118.174 -> localhost]: FAILED! => {"changed": false, "msg": "Unable to connect to ['10.12.118.173', '10.12.118.174'] on port 443. The reported error was \"HTTPSConnectionPool(host=\"'10.12.118.173',%20'10.12.118.174'\", port=443): Max retries exceeded with url: /mgmt/shared/authn/login (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 503 Service Unavailable',)))\"."}
to retry, use: --limit @/home/userdir/ansible/playbooks/onboard2.retry
PLAY RECAP *************************************************************************************************************************
10.12.118.173 : ok=1 changed=0 unreachable=0 failed=1
10.12.118.174 : ok=1 changed=0 unreachable=0 failed=1