trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.65k stars 2.31k forks source link

Algo gets stuck when trying to install Wireguard on Vultr #1358

Closed jackivanov closed 5 years ago

jackivanov commented 5 years ago

Quoted from #1355

Description

I've been having issues in Algo occasionally where the script will get stuck when trying to install Wireguard on Vultr. Through some experimentation, the problem was solved by forcing a pause before the Wireguard step.

Motivation and Context

This change fixes Algo hanging on Wireguard installation when using Vultr. Maybe there's too much CPU bursting and it can't handle it? Not sure the cause, but this fixes the issue.

How Has This Been Tested?

Ran the code on own server and ran the change through Travis CI

jackivanov commented 5 years ago

ping @rodeodomino I couldn't reproduce this. Could you file here some debug output, please? (eg: rug algo with -vvvvv)

rodeodomino commented 5 years ago

Don’t want you to think I’m ignoring the issue — I’m traveling so won’t be able to do this until next week, but will send the debug then.

arejay73 commented 5 years ago

I tried today and seem to have the same problem. If I create an Vultr instance and install locally it works fine. But if I try to install from my laptop and have the scripts create the Vultr Instance it creates the instance just fine, but hangs at the point where the Instance is installing apt updates. The -vvvv command has a lot of output. how could I capture it all to show you?

davidemyers commented 5 years ago

This might not be relevant, but what Vultr region are you deploying to? I haven't been able to recreate any issues deploying to Atlanta.

Can you SSH in to your instance and find any processes that might be stuck?

TC1977 commented 5 years ago

I tried today and seem to have the same problem. If I create an Vultr instance and install locally it works fine. But if I try to install from my laptop and have the scripts create the Vultr Instance it creates the instance just fine, but hangs at the point where the Instance is installing apt updates. The -vvvv command has a lot of output. how could I capture it all to show you?

Just copy and paste from the terminal window into TextEdit, use the search function to find and replace any personal data (like your user name or your home IP address), and then paste into the box here after three backticks (followed by a return, then a return and three more backticks after your pasted log) so that it's more readable.

arejay73 commented 5 years ago
(env) MacBookPro:algo-master ********$ ./algo -vvvv
ansible-playbook 2.5.2
  config file = /Users/********/Downloads/algo-master/ansible.cfg
  configured module search path = [u'/Users/********/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible
  executable location = /Users/********/Downloads/algo-master/env/bin/ansible-playbook
  python version = 2.7.16 (default, Mar  4 2019, 09:02:22) [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)]
Using /Users/********/Downloads/algo-master/ansible.cfg as config file
setting up inventory plugins
Set default localhost to localhost
Parsed /Users/********/Downloads/algo-master/inventory inventory source with ini plugin
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-digitalocean/tasks/venv.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-digitalocean/tasks/prompts.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-ec2/tasks/venv.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-ec2/tasks/prompts.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-ec2/tasks/encrypt_image.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-ec2/tasks/cloudformation.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-gce/tasks/venv.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-gce/tasks/prompts.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-azure/tasks/venv.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-azure/tasks/prompts.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-lightsail/tasks/venv.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-lightsail/tasks/prompts.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-scaleway/tasks/prompts.yml
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/cloud-openstack/tasks/venv.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/local/tasks/prompts.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/playbooks/cloud-post.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/playbooks/cloud-pre.yml
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/wireguard/tasks/keys.yml
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/strongswan/tasks/ipsec_configuration.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/strongswan/tasks/openssl.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/strongswan/tasks/distribute_keys.yml
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/strongswan/tasks/client_configs.yml
Loading callback plugin full_skip of type stdout, v2.0 from /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/plugins/callback/full_skip.pyc

PLAYBOOK: main.yml ***************************************************************************************************************************************************************************************************************************
3 plays in main.yml
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'

PLAY [Ask user for the input] ****************************************************************************************************************************************************************************************************************
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/system/setup.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111380.51-16099268551374 `" && echo ansible-tmp-1553111380.51-16099268551374="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111380.51-16099268551374 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmpCwEVV8 TO /Users/********/.ansible/tmp/ansible-tmp-1553111380.51-16099268551374/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111380.51-16099268551374/ /Users/********/.ansible/tmp/ansible-tmp-1553111380.51-16099268551374/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /Users/********/.ansible/tmp/ansible-tmp-1553111380.51-16099268551374/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111380.51-16099268551374/ > /dev/null 2>&1 && sleep 0'

TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:2
ok: [localhost]
META: ran handlers
Read vars_file 'config.cfg'
[pause]
What provider would you like to use?
    1. DigitalOcean
    2. Amazon Lightsail
    3. Amazon EC2
    4. Vultr
    5. Microsoft Azure
    6. Google Compute Engine
    7. Scaleway
    8. OpenStack (DreamCompute optimised)
    9. Install to existing Ubuntu 18.04 server (Advanced)

Enter the number of your desired provider
:
4

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:28
ok: [localhost] => {
    "changed": false, 
    "delta": 2, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:49:42.863727", 
    "stderr": "", 
    "stdout": "Paused for 0.04 minutes", 
    "stop": "2019-03-20 15:49:45.360254", 
    "user_input": "4"
}
Read vars_file 'config.cfg'

TASK [Set facts based on the input] **********************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:39
ok: [localhost] => {
    "ansible_facts": {
        "algo_provider": "vultr"
    }, 
    "changed": false
}
Read vars_file 'config.cfg'
[pause]
Name the vpn server
[algo]
:

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:43
ok: [localhost] => {
    "changed": false, 
    "delta": 2, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:49:45.999808", 
    "stderr": "", 
    "stdout": "Paused for 0.04 minutes", 
    "stop": "2019-03-20 15:49:48.216829", 
    "user_input": ""
}
Read vars_file 'config.cfg'
[pause]
Do you want macOS/iOS IPsec clients to enable "Connect On Demand" when connected to cellular networks?
[y/N]
:
y

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:52
ok: [localhost] => {
    "changed": false, 
    "delta": 1, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:49:48.654181", 
    "stderr": "", 
    "stdout": "Paused for 0.03 minutes", 
    "stop": "2019-03-20 15:49:50.576232", 
    "user_input": "y"
}
Read vars_file 'config.cfg'
[pause]
Do you want macOS/iOS IPsec clients to enable "Connect On Demand" when connected to Wi-Fi?
[y/N]
:
y

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:59
ok: [localhost] => {
    "changed": false, 
    "delta": 1, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:49:50.920413", 
    "stderr": "", 
    "stdout": "Paused for 0.03 minutes", 
    "stop": "2019-03-20 15:49:52.624357", 
    "user_input": "y"
}
Read vars_file 'config.cfg'
[pause]
List the names of any trusted Wi-Fi networks where macOS/iOS IPsec clients should not use "Connect On Demand"
(e.g., your home network. Comma-separated value, e.g., HomeNet,OfficeWifi,AlgoWiFi)
:
abs-5g,carterbunch,att528

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:66
ok: [localhost] => {
    "changed": false, 
    "delta": 15, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:49:53.004177", 
    "stderr": "", 
    "stdout": "Paused for 0.26 minutes", 
    "stop": "2019-03-20 15:50:08.776823", 
    "user_input": "abs-5g,carterbunch,att528"
}
Read vars_file 'config.cfg'
[pause]
Do you want the VPN to support Windows 10 or Linux Desktop clients? (enables compatible ciphers and key exchange, less secure)
[y/N]
:
n

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:76
ok: [localhost] => {
    "changed": false, 
    "delta": 2, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:50:09.029490", 
    "stderr": "", 
    "stdout": "Paused for 0.04 minutes", 
    "stop": "2019-03-20 15:50:11.201083", 
    "user_input": "n"
}
Read vars_file 'config.cfg'
[pause]
Do you want to retain the CA key? (required to add users in the future, but less secure)
[y/N]
:
n

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:83
ok: [localhost] => {
    "changed": false, 
    "delta": 2, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:50:11.451185", 
    "stderr": "", 
    "stdout": "Paused for 0.04 minutes", 
    "stop": "2019-03-20 15:50:13.760996", 
    "user_input": "n"
}
Read vars_file 'config.cfg'
[pause]
Do you want to install an ad blocking DNS resolver on this VPN server?
[y/N]
:
n

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:91
ok: [localhost] => {
    "changed": false, 
    "delta": 2, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:50:13.979060", 
    "stderr": "", 
    "stdout": "Paused for 0.03 minutes", 
    "stop": "2019-03-20 15:50:16.000344", 
    "user_input": "n"
}
Read vars_file 'config.cfg'
[pause]
Do you want each user to have their own account for SSH tunneling?
[y/N]
:
n

TASK [pause] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:98
ok: [localhost] => {
    "changed": false, 
    "delta": 1, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:50:16.179004", 
    "stderr": "", 
    "stdout": "Paused for 0.03 minutes", 
    "stop": "2019-03-20 15:50:17.848148", 
    "user_input": "n"
}
Read vars_file 'config.cfg'

TASK [Set facts based on the input] **********************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/input.yml:105
ok: [localhost] => {
    "ansible_facts": {
        "algo_local_dns": false, 
        "algo_ondemand_cellular": true, 
        "algo_ondemand_wifi": true, 
        "algo_ondemand_wifi_exclude": "YWJzLTVnLGNhcnRlcmJ1bmNoLGF0dDUyOA==", 
        "algo_server_name": "algo", 
        "algo_ssh_tunneling": false, 
        "algo_store_cakey": false, 
        "algo_windows": false
    }, 
    "changed": false
}
META: ran handlers
META: ran handlers
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'

PLAY [Provision the server] ******************************************************************************************************************************************************************************************************************
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/system/setup.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111418.33-214525376095347 `" && echo ansible-tmp-1553111418.33-214525376095347="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111418.33-214525376095347 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmpkxhF_V TO /Users/********/.ansible/tmp/ansible-tmp-1553111418.33-214525376095347/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111418.33-214525376095347/ /Users/********/.ansible/tmp/ansible-tmp-1553111418.33-214525376095347/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /Users/********/.ansible/tmp/ansible-tmp-1553111418.33-214525376095347/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111418.33-214525376095347/ > /dev/null 2>&1 && sleep 0'

TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/cloud.yml:2
ok: [localhost]
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/commands/command.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111419.5-274796142462855 `" && echo ansible-tmp-1553111419.5-274796142462855="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111419.5-274796142462855 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmpK48R0U TO /Users/********/.ansible/tmp/ansible-tmp-1553111419.5-274796142462855/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111419.5-274796142462855/ /Users/********/.ansible/tmp/ansible-tmp-1553111419.5-274796142462855/command.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /Users/********/.ansible/tmp/ansible-tmp-1553111419.5-274796142462855/command.py && sleep 0'

--> Please include the following block of text when reporting issues:

Algo running on: Mac OS X 10.13.6
ZIP file created: Mar 19 12:49:18 2019
Python 2.7.16
Runtime variables:
    algo_provider "vultr"
    algo_ondemand_cellular "True"
    algo_ondemand_wifi "True"
    algo_ondemand_wifi_exclude "YWJzLTVnLGNhcnRlcmJ1bmNoLGF0dDUyOA=="
    algo_local_dns "False"
    algo_ssh_tunneling "False"
    algo_windows "False"
    wireguard_enabled "True"
    dns_encryption "True"
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111419.5-274796142462855/ > /dev/null 2>&1 && sleep 0'

TASK [Display the invocation environment] ****************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-pre.yml:2
changed: [localhost -> localhost] => {
    "changed": true, 
    "cmd": "./algo-showenv.sh 'algo_provider \"vultr\"' 'algo_ondemand_cellular \"True\"' 'algo_ondemand_wifi \"True\"' 'algo_ondemand_wifi_exclude \"YWJzLTVnLGNhcnRlcmJ1bmNoLGF0dDUyOA==\"' 'algo_local_dns \"False\"' 'algo_ssh_tunneling \"False\"' 'algo_windows \"False\"' 'wireguard_enabled \"True\"' 'dns_encryption \"True\"' > /dev/tty", 
    "delta": "0:00:00.084323", 
    "end": "2019-03-20 15:50:19.846317", 
    "invocation": {
        "module_args": {
            "_raw_params": "./algo-showenv.sh 'algo_provider \"vultr\"' 'algo_ondemand_cellular \"True\"' 'algo_ondemand_wifi \"True\"' 'algo_ondemand_wifi_exclude \"YWJzLTVnLGNhcnRlcmJ1bmNoLGF0dDUyOA==\"' 'algo_local_dns \"False\"' 'algo_ssh_tunneling \"False\"' 'algo_windows \"False\"' 'wireguard_enabled \"True\"' 'dns_encryption \"True\"' > /dev/tty", 
            "_uses_shell": true, 
            "chdir": null, 
            "creates": null, 
            "executable": null, 
            "removes": null, 
            "stdin": null, 
            "warn": true
        }
    }, 
    "rc": 0, 
    "start": "2019-03-20 15:50:19.761994", 
    "stderr": "", 
    "stderr_lines": [], 
    "stdout": "", 
    "stdout_lines": []
}
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/packaging/language/pip.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111420.31-252016468118561 `" && echo ansible-tmp-1553111420.31-252016468118561="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111420.31-252016468118561 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmp8XII3q TO /Users/********/.ansible/tmp/ansible-tmp-1553111420.31-252016468118561/pip.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111420.31-252016468118561/ /Users/********/.ansible/tmp/ansible-tmp-1553111420.31-252016468118561/pip.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /Users/********/.ansible/tmp/ansible-tmp-1553111420.31-252016468118561/pip.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111420.31-252016468118561/ > /dev/null 2>&1 && sleep 0'

TASK [Install the requirements] **************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-pre.yml:18
ok: [localhost -> localhost] => {
    "changed": false, 
    "cmd": "/Users/********/Downloads/algo-master/env/bin/pip2 install -U pyOpenSSL jinja2==2.8 segno", 
    "invocation": {
        "module_args": {
            "chdir": null, 
            "editable": false, 
            "executable": null, 
            "extra_args": null, 
            "name": [
                "pyOpenSSL", 
                "jinja2==2.8", 
                "segno"
            ], 
            "requirements": null, 
            "state": "latest", 
            "umask": null, 
            "use_mirrors": true, 
            "version": null, 
            "virtualenv": null, 
            "virtualenv_command": "virtualenv", 
            "virtualenv_python": null, 
            "virtualenv_site_packages": false
        }
    }, 
    "name": [
        "pyOpenSSL", 
        "jinja2==2.8", 
        "segno"
    ], 
    "requirements": null, 
    "state": "latest", 
    "stderr": "DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\n", 
    "stderr_lines": [
        "DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7."
    ], 
    "stdout": "Requirement already up-to-date: pyOpenSSL in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (19.0.0)\nRequirement already up-to-date: jinja2==2.8 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (2.8)\nRequirement already up-to-date: segno in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (0.2.8)\nRequirement already satisfied, skipping upgrade: six>=1.5.2 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from pyOpenSSL) (1.12.0)\nRequirement already satisfied, skipping upgrade: cryptography>=2.3 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from pyOpenSSL) (2.6.1)\nRequirement already satisfied, skipping upgrade: MarkupSafe in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from jinja2==2.8) (1.1.1)\nRequirement already satisfied, skipping upgrade: enum34; python_version < \"3\" in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (1.1.6)\nRequirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (1.12.2)\nRequirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (0.24.0)\nRequirement already satisfied, skipping upgrade: ipaddress; python_version < \"3\" in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (1.0.22)\nRequirement already satisfied, skipping upgrade: pycparser in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL) (2.19)\n", 
    "stdout_lines": [
        "Requirement already up-to-date: pyOpenSSL in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (19.0.0)", 
        "Requirement already up-to-date: jinja2==2.8 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (2.8)", 
        "Requirement already up-to-date: segno in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (0.2.8)", 
        "Requirement already satisfied, skipping upgrade: six>=1.5.2 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from pyOpenSSL) (1.12.0)", 
        "Requirement already satisfied, skipping upgrade: cryptography>=2.3 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from pyOpenSSL) (2.6.1)", 
        "Requirement already satisfied, skipping upgrade: MarkupSafe in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from jinja2==2.8) (1.1.1)", 
        "Requirement already satisfied, skipping upgrade: enum34; python_version < \"3\" in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (1.1.6)", 
        "Requirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (1.12.2)", 
        "Requirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (0.24.0)", 
        "Requirement already satisfied, skipping upgrade: ipaddress; python_version < \"3\" in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL) (1.0.22)", 
        "Requirement already satisfied, skipping upgrade: pycparser in /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL) (2.19)"
    ], 
    "version": null, 
    "virtualenv": null
}
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/crypto/openssl_privatekey.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111422.12-151648669292275 `" && echo ansible-tmp-1553111422.12-151648669292275="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111422.12-151648669292275 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmpivgLZ_ TO /Users/********/.ansible/tmp/ansible-tmp-1553111422.12-151648669292275/openssl_privatekey.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111422.12-151648669292275/ /Users/********/.ansible/tmp/ansible-tmp-1553111422.12-151648669292275/openssl_privatekey.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /Users/********/.ansible/tmp/ansible-tmp-1553111422.12-151648669292275/openssl_privatekey.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111422.12-151648669292275/ > /dev/null 2>&1 && sleep 0'

TASK [Generate the SSH private key] **********************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-pre.yml:28
ok: [localhost] => {
    "changed": false, 
    "filename": "configs/algo.pem", 
    "fingerprint": {
        "md5": "f6:bf:ce:9e:42:ec:02:ef:df:3b:4b:4c:42:49:70:57", 
        "sha1": "24:bc:bd:bc:1a:12:fd:12:97:d3:7f:ff:dd:6b:3c:d5:9c:39:ab:cb", 
        "sha224": "c7:d3:80:e9:e9:19:6a:17:cc:22:5c:db:53:00:7a:8b:0e:92:57:6d:f5:98:f2:ca:91:f6:f9:6f", 
        "sha256": "bd:eb:f2:9a:c5:0b:64:23:bd:ea:37:d9:61:8e:d4:86:24:57:39:d8:3a:96:3c:ff:65:53:66:10:52:05:89:ca", 
        "sha384": "3b:61:7c:4f:6e:e3:44:52:1e:1a:77:ea:a0:87:5e:d2:8c:d1:7f:7a:af:b1:d5:24:17:12:c0:40:fe:e8:ad:3b:ec:fc:87:9e:50:cd:a1:03:14:fa:4a:98:a0:ed:55:d0", 
        "sha512": "82:9a:4f:cd:9c:ec:6d:03:c7:34:3f:69:19:67:f7:5f:68:fe:a5:b3:7a:56:23:6a:38:e4:6b:44:7c:60:29:40:7d:91:32:fe:ba:7d:23:8f:3c:ad:ac:54:a4:af:ab:71:0e:43:61:ab:07:a5:b6:57:68:35:1a:06:33:9a:bb:65"
    }, 
    "invocation": {
        "module_args": {
            "attributes": null, 
            "backup": null, 
            "cipher": null, 
            "content": null, 
            "delimiter": null, 
            "directory_mode": null, 
            "follow": false, 
            "force": false, 
            "group": null, 
            "mode": "0600", 
            "owner": null, 
            "passphrase": null, 
            "path": "configs/algo.pem", 
            "regexp": null, 
            "remote_src": null, 
            "selevel": null, 
            "serole": null, 
            "setype": null, 
            "seuser": null, 
            "size": 2048, 
            "src": null, 
            "state": "present", 
            "type": "RSA", 
            "unsafe_writes": null
        }
    }, 
    "size": 2048, 
    "type": "RSA"
}
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/crypto/openssl_publickey.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111422.97-53344063400012 `" && echo ansible-tmp-1553111422.97-53344063400012="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111422.97-53344063400012 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmp7S4_eF TO /Users/********/.ansible/tmp/ansible-tmp-1553111422.97-53344063400012/openssl_publickey.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111422.97-53344063400012/ /Users/********/.ansible/tmp/ansible-tmp-1553111422.97-53344063400012/openssl_publickey.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /Users/********/.ansible/tmp/ansible-tmp-1553111422.97-53344063400012/openssl_publickey.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111422.97-53344063400012/ > /dev/null 2>&1 && sleep 0'

TASK [Generate the SSH public key] ***********************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-pre.yml:36
ok: [localhost] => {
    "changed": false, 
    "filename": "configs/algo.pem.pub", 
    "fingerprint": {
        "md5": "f6:bf:ce:9e:42:ec:02:ef:df:3b:4b:4c:42:49:70:57", 
        "sha1": "24:bc:bd:bc:1a:12:fd:12:97:d3:7f:ff:dd:6b:3c:d5:9c:39:ab:cb", 
        "sha224": "c7:d3:80:e9:e9:19:6a:17:cc:22:5c:db:53:00:7a:8b:0e:92:57:6d:f5:98:f2:ca:91:f6:f9:6f", 
        "sha256": "bd:eb:f2:9a:c5:0b:64:23:bd:ea:37:d9:61:8e:d4:86:24:57:39:d8:3a:96:3c:ff:65:53:66:10:52:05:89:ca", 
        "sha384": "3b:61:7c:4f:6e:e3:44:52:1e:1a:77:ea:a0:87:5e:d2:8c:d1:7f:7a:af:b1:d5:24:17:12:c0:40:fe:e8:ad:3b:ec:fc:87:9e:50:cd:a1:03:14:fa:4a:98:a0:ed:55:d0", 
        "sha512": "82:9a:4f:cd:9c:ec:6d:03:c7:34:3f:69:19:67:f7:5f:68:fe:a5:b3:7a:56:23:6a:38:e4:6b:44:7c:60:29:40:7d:91:32:fe:ba:7d:23:8f:3c:ad:ac:54:a4:af:ab:71:0e:43:61:ab:07:a5:b6:57:68:35:1a:06:33:9a:bb:65"
    }, 
    "format": "OpenSSH", 
    "invocation": {
        "module_args": {
            "attributes": null, 
            "backup": null, 
            "content": null, 
            "delimiter": null, 
            "directory_mode": null, 
            "follow": false, 
            "force": false, 
            "format": "OpenSSH", 
            "group": null, 
            "mode": null, 
            "owner": null, 
            "path": "configs/algo.pem.pub", 
            "privatekey_passphrase": null, 
            "privatekey_path": "configs/algo.pem", 
            "regexp": null, 
            "remote_src": null, 
            "selevel": null, 
            "serole": null, 
            "setype": null, 
            "seuser": null, 
            "src": null, 
            "state": "present", 
            "unsafe_writes": null
        }
    }, 
    "privatekey": "configs/algo.pem"
}
META: ran handlers
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
[cloud-vultr : pause]
Enter the local path to your configuration INI file
(https://trailofbits.github.io/algo/cloud-vultr.html):
:
/Users/********/Downloads/algo-master/cloud-vultr.ini

TASK [cloud-vultr : pause] *******************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:2
ok: [localhost] => {
    "changed": false, 
    "delta": 18, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:50:25.527550", 
    "stderr": "", 
    "stdout": "Paused for 0.31 minutes", 
    "stop": "2019-03-20 15:50:44.237189", 
    "user_input": "/Users/********/Downloads/algo-master/cloud-vultr.ini"
}
Read vars_file 'config.cfg'

TASK [cloud-vultr : Set the token as a fact] *************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:9
ok: [localhost] => {
    "ansible_facts": {
        "algo_vultr_config": "/Users/********/Downloads/algo-master/cloud-vultr.ini"
    }, 
    "changed": false
}
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/net_tools/basics/uri.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111444.92-237061905954359 `" && echo ansible-tmp-1553111444.92-237061905954359="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111444.92-237061905954359 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmpGymZGP TO /Users/********/.ansible/tmp/ansible-tmp-1553111444.92-237061905954359/uri.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111444.92-237061905954359/ /Users/********/.ansible/tmp/ansible-tmp-1553111444.92-237061905954359/uri.py && sleep 0'
<localhost> EXEC /bin/sh -c 'VULTR_API_CONFIG=/Users/********/Downloads/algo-master/cloud-vultr.ini python /Users/********/.ansible/tmp/ansible-tmp-1553111444.92-237061905954359/uri.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111444.92-237061905954359/ > /dev/null 2>&1 && sleep 0'

TASK [cloud-vultr : Get regions] *************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:13
ok: [localhost] => {
    "cache_control": "no-cache", 
    "changed": false, 
    "connection": "close", 
    "content_type": "application/json", 
    "cookies": {}, 
    "date": "Wed, 20 Mar 2019 19:50:45 GMT", 
    "expires": "Wed, 20 Mar 2019 19:50:44 GMT", 
    "invocation": {
        "module_args": {
            "attributes": null, 
            "backup": null, 
            "body": null, 
            "body_format": "raw", 
            "client_cert": null, 
            "client_key": null, 
            "content": null, 
            "creates": null, 
            "delimiter": null, 
            "dest": null, 
            "directory_mode": null, 
            "follow": false, 
            "follow_redirects": "safe", 
            "force": false, 
            "force_basic_auth": false, 
            "group": null, 
            "headers": {}, 
            "http_agent": "ansible-httpget", 
            "method": "GET", 
            "mode": null, 
            "owner": null, 
            "regexp": null, 
            "remote_src": null, 
            "removes": null, 
            "return_content": false, 
            "selevel": null, 
            "serole": null, 
            "setype": null, 
            "seuser": null, 
            "src": null, 
            "status_code": [
                "200"
            ], 
            "timeout": 30, 
            "unsafe_writes": null, 
            "url": "https://api.vultr.com/v1/regions/list", 
            "url_password": null, 
            "url_username": null, 
            "use_proxy": true, 
            "validate_certs": true
        }
    }, 
    "json": {
        "1": {
            "DCID": "1", 
            "block_storage": true, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": true, 
            "name": "New Jersey", 
            "regioncode": "EWR", 
            "state": "NJ"
        }, 
        "12": {
            "DCID": "12", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": true, 
            "name": "Silicon Valley", 
            "regioncode": "SJC", 
            "state": "CA"
        }, 
        "19": {
            "DCID": "19", 
            "block_storage": false, 
            "continent": "Australia", 
            "country": "AU", 
            "ddos_protection": false, 
            "name": "Sydney", 
            "regioncode": "SYD", 
            "state": ""
        }, 
        "2": {
            "DCID": "2", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": true, 
            "name": "Chicago", 
            "regioncode": "ORD", 
            "state": "IL"
        }, 
        "22": {
            "DCID": "22", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "CA", 
            "ddos_protection": false, 
            "name": "Toronto", 
            "regioncode": "YTO", 
            "state": ""
        }, 
        "24": {
            "DCID": "24", 
            "block_storage": false, 
            "continent": "Europe", 
            "country": "FR", 
            "ddos_protection": true, 
            "name": "Paris", 
            "regioncode": "CDG", 
            "state": ""
        }, 
        "25": {
            "DCID": "25", 
            "block_storage": false, 
            "continent": "Asia", 
            "country": "JP", 
            "ddos_protection": false, 
            "name": "Tokyo", 
            "regioncode": "NRT", 
            "state": ""
        }, 
        "3": {
            "DCID": "3", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": true, 
            "name": "Dallas", 
            "regioncode": "DFW", 
            "state": "TX"
        }, 
        "39": {
            "DCID": "39", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": true, 
            "name": "Miami", 
            "regioncode": "MIA", 
            "state": "FL"
        }, 
        "4": {
            "DCID": "4", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": true, 
            "name": "Seattle", 
            "regioncode": "SEA", 
            "state": "WA"
        }, 
        "40": {
            "DCID": "40", 
            "block_storage": false, 
            "continent": "Asia", 
            "country": "SG", 
            "ddos_protection": false, 
            "name": "Singapore", 
            "regioncode": "SGP", 
            "state": ""
        }, 
        "5": {
            "DCID": "5", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": true, 
            "name": "Los Angeles", 
            "regioncode": "LAX", 
            "state": "CA"
        }, 
        "6": {
            "DCID": "6", 
            "block_storage": false, 
            "continent": "North America", 
            "country": "US", 
            "ddos_protection": false, 
            "name": "Atlanta", 
            "regioncode": "ATL", 
            "state": "GA"
        }, 
        "7": {
            "DCID": "7", 
            "block_storage": false, 
            "continent": "Europe", 
            "country": "NL", 
            "ddos_protection": true, 
            "name": "Amsterdam", 
            "regioncode": "AMS", 
            "state": ""
        }, 
        "8": {
            "DCID": "8", 
            "block_storage": false, 
            "continent": "Europe", 
            "country": "GB", 
            "ddos_protection": true, 
            "name": "London", 
            "regioncode": "LHR", 
            "state": ""
        }, 
        "9": {
            "DCID": "9", 
            "block_storage": false, 
            "continent": "Europe", 
            "country": "DE", 
            "ddos_protection": true, 
            "name": "Frankfurt", 
            "regioncode": "FRA", 
            "state": ""
        }
    }, 
    "msg": "OK (unknown bytes)", 
    "redirected": false, 
    "server": "nginx", 
    "status": 200, 
    "strict_transport_security": "max-age=31536000", 
    "transfer_encoding": "chunked", 
    "url": "https://api.vultr.com/v1/regions/list", 
    "x_content_type_options": "nosniff", 
    "x_frame_options": "DENY"
}
Read vars_file 'config.cfg'

TASK [cloud-vultr : Format regions] **********************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:20
ok: [localhost] => {
    "ansible_facts": {
        "regions": [
            {
                "DCID": "24", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "FR", 
                "ddos_protection": true, 
                "name": "Paris", 
                "regioncode": "CDG", 
                "state": ""
            }, 
            {
                "DCID": "25", 
                "block_storage": false, 
                "continent": "Asia", 
                "country": "JP", 
                "ddos_protection": false, 
                "name": "Tokyo", 
                "regioncode": "NRT", 
                "state": ""
            }, 
            {
                "DCID": "39", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Miami", 
                "regioncode": "MIA", 
                "state": "FL"
            }, 
            {
                "DCID": "12", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Silicon Valley", 
                "regioncode": "SJC", 
                "state": "CA"
            }, 
            {
                "DCID": "22", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "CA", 
                "ddos_protection": false, 
                "name": "Toronto", 
                "regioncode": "YTO", 
                "state": ""
            }, 
            {
                "DCID": "19", 
                "block_storage": false, 
                "continent": "Australia", 
                "country": "AU", 
                "ddos_protection": false, 
                "name": "Sydney", 
                "regioncode": "SYD", 
                "state": ""
            }, 
            {
                "DCID": "40", 
                "block_storage": false, 
                "continent": "Asia", 
                "country": "SG", 
                "ddos_protection": false, 
                "name": "Singapore", 
                "regioncode": "SGP", 
                "state": ""
            }, 
            {
                "DCID": "1", 
                "block_storage": true, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "New Jersey", 
                "regioncode": "EWR", 
                "state": "NJ"
            }, 
            {
                "DCID": "3", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Dallas", 
                "regioncode": "DFW", 
                "state": "TX"
            }, 
            {
                "DCID": "2", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Chicago", 
                "regioncode": "ORD", 
                "state": "IL"
            }, 
            {
                "DCID": "5", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Los Angeles", 
                "regioncode": "LAX", 
                "state": "CA"
            }, 
            {
                "DCID": "4", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Seattle", 
                "regioncode": "SEA", 
                "state": "WA"
            }, 
            {
                "DCID": "7", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "NL", 
                "ddos_protection": true, 
                "name": "Amsterdam", 
                "regioncode": "AMS", 
                "state": ""
            }, 
            {
                "DCID": "6", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": false, 
                "name": "Atlanta", 
                "regioncode": "ATL", 
                "state": "GA"
            }, 
            {
                "DCID": "9", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "DE", 
                "ddos_protection": true, 
                "name": "Frankfurt", 
                "regioncode": "FRA", 
                "state": ""
            }, 
            {
                "DCID": "8", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "GB", 
                "ddos_protection": true, 
                "name": "London", 
                "regioncode": "LHR", 
                "state": ""
            }
        ]
    }, 
    "changed": false
}
Read vars_file 'config.cfg'

TASK [cloud-vultr : Set regions as a fact] ***************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:27
ok: [localhost] => {
    "ansible_facts": {
        "vultr_regions": [
            {
                "DCID": "19", 
                "block_storage": false, 
                "continent": "Australia", 
                "country": "AU", 
                "ddos_protection": false, 
                "name": "Sydney", 
                "regioncode": "SYD", 
                "state": ""
            }, 
            {
                "DCID": "22", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "CA", 
                "ddos_protection": false, 
                "name": "Toronto", 
                "regioncode": "YTO", 
                "state": ""
            }, 
            {
                "DCID": "9", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "DE", 
                "ddos_protection": true, 
                "name": "Frankfurt", 
                "regioncode": "FRA", 
                "state": ""
            }, 
            {
                "DCID": "24", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "FR", 
                "ddos_protection": true, 
                "name": "Paris", 
                "regioncode": "CDG", 
                "state": ""
            }, 
            {
                "DCID": "8", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "GB", 
                "ddos_protection": true, 
                "name": "London", 
                "regioncode": "LHR", 
                "state": ""
            }, 
            {
                "DCID": "25", 
                "block_storage": false, 
                "continent": "Asia", 
                "country": "JP", 
                "ddos_protection": false, 
                "name": "Tokyo", 
                "regioncode": "NRT", 
                "state": ""
            }, 
            {
                "DCID": "7", 
                "block_storage": false, 
                "continent": "Europe", 
                "country": "NL", 
                "ddos_protection": true, 
                "name": "Amsterdam", 
                "regioncode": "AMS", 
                "state": ""
            }, 
            {
                "DCID": "40", 
                "block_storage": false, 
                "continent": "Asia", 
                "country": "SG", 
                "ddos_protection": false, 
                "name": "Singapore", 
                "regioncode": "SGP", 
                "state": ""
            }, 
            {
                "DCID": "39", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Miami", 
                "regioncode": "MIA", 
                "state": "FL"
            }, 
            {
                "DCID": "12", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Silicon Valley", 
                "regioncode": "SJC", 
                "state": "CA"
            }, 
            {
                "DCID": "1", 
                "block_storage": true, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "New Jersey", 
                "regioncode": "EWR", 
                "state": "NJ"
            }, 
            {
                "DCID": "3", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Dallas", 
                "regioncode": "DFW", 
                "state": "TX"
            }, 
            {
                "DCID": "2", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Chicago", 
                "regioncode": "ORD", 
                "state": "IL"
            }, 
            {
                "DCID": "5", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Los Angeles", 
                "regioncode": "LAX", 
                "state": "CA"
            }, 
            {
                "DCID": "4", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": true, 
                "name": "Seattle", 
                "regioncode": "SEA", 
                "state": "WA"
            }, 
            {
                "DCID": "6", 
                "block_storage": false, 
                "continent": "North America", 
                "country": "US", 
                "ddos_protection": false, 
                "name": "Atlanta", 
                "regioncode": "ATL", 
                "state": "GA"
            }
        ]
    }, 
    "changed": false
}
Read vars_file 'config.cfg'

TASK [cloud-vultr : Set default region] ******************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:31
ok: [localhost] => {
    "ansible_facts": {
        "default_region": "11"
    }, 
    "changed": false
}
Read vars_file 'config.cfg'
[cloud-vultr : pause]
What region should the server be located in?
(https://www.vultr.com/locations/):
    1.   Sydney
    2.   Toronto
    3.   Frankfurt
    4.   Paris
    5.   London
    6.   Tokyo
    7.   Amsterdam
    8.   Singapore
    9.   Miami
    10.   Silicon Valley
    11.   New Jersey
    12.   Dallas
    13.   Chicago
    14.   Los Angeles
    15.   Seattle
    16.   Atlanta

Enter the number of your desired region
[11]
:
16

TASK [cloud-vultr : pause] *******************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:38
ok: [localhost] => {
    "changed": false, 
    "delta": 2, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:50:46.478224", 
    "stderr": "", 
    "stdout": "Paused for 0.05 minutes", 
    "stop": "2019-03-20 15:50:49.245615", 
    "user_input": "16"
}
Read vars_file 'config.cfg'

TASK [cloud-vultr : Set the desired region as a fact] ****************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/prompts.yml:51
ok: [localhost] => {
    "ansible_facts": {
        "algo_vultr_region": "Atlanta"
    }, 
    "changed": false
}
Read vars_file 'config.cfg'
File lookup using /Users/********/Downloads/algo-master/configs/algo.pem.pub as file
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/cloud/vultr/vr_ssh_key.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111449.81-230202102122381 `" && echo ansible-tmp-1553111449.81-230202102122381="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111449.81-230202102122381 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmpdCb6LN TO /Users/********/.ansible/tmp/ansible-tmp-1553111449.81-230202102122381/vr_ssh_key.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111449.81-230202102122381/ /Users/********/.ansible/tmp/ansible-tmp-1553111449.81-230202102122381/vr_ssh_key.py && sleep 0'
<localhost> EXEC /bin/sh -c 'VULTR_API_CONFIG=/Users/********/Downloads/algo-master/cloud-vultr.ini python /Users/********/.ansible/tmp/ansible-tmp-1553111449.81-230202102122381/vr_ssh_key.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111449.81-230202102122381/ > /dev/null 2>&1 && sleep 0'

TASK [cloud-vultr : Upload the SSH key] ******************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/main.yml:5
ok: [localhost] => {
    "changed": false, 
    "diff": {
        "after": {}, 
        "before": {}
    }, 
    "invocation": {
        "module_args": {
            "api_account": "default", 
            "api_endpoint": null, 
            "api_key": null, 
            "api_retries": null, 
            "api_timeout": null, 
            "name": "algo@ssh", 
            "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdGyy0uGElpg9Yhg+4qt9JIeUul57EiR8WYeIT5WQ2qYncNxzajkKtrvEY5i1E/V6DQc7PimEnGnY1ACWVfoi8JuikYUOXJubzF7zWzbjRxVUuXRcxssSxaErNqjgrLEQoV8HA0AeIHdG/N4kn6HyumEH9vbr2wI9zaVWLfRfbOr0UieSHSQOinE2T1JzOcSOl+wn1sUfjN+kwZvrCDpyiA/Atu+ZLhuJRFOHw18T0vpriZV3MzfRW/3Y2BcxPfqSXn+ZiyLMY871ejz+AC/LZ0umiCAb3gsxhQ4DUkkD1JeLWHquIsGlvSCuGuKuhybfuYfmsHAQLVZp6l7VvzMyb", 
            "state": "present", 
            "validate_certs": true
        }
    }, 
    "vultr_api": {
        "api_account": "default", 
        "api_endpoint": "https://api.vultr.com", 
        "api_retries": 5, 
        "api_timeout": 60
    }, 
    "vultr_ssh_key": {
        "date_created": "2018-10-08 13:30:49", 
        "id": "5bbb9449b0ace", 
        "name": "algo@ssh", 
        "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdGyy0uGElpg9Yhg+4qt9JIeUul57EiR8WYeIT5WQ2qYncNxzajkKtrvEY5i1E/V6DQc7PimEnGnY1ACWVfoi8JuikYUOXJubzF7zWzbjRxVUuXRcxssSxaErNqjgrLEQoV8HA0AeIHdG/N4kn6HyumEH9vbr2wI9zaVWLfRfbOr0UieSHSQOinE2T1JzOcSOl+wn1sUfjN+kwZvrCDpyiA/Atu+ZLhuJRFOHw18T0vpriZV3MzfRW/3Y2BcxPfqSXn+ZiyLMY871ejz+AC/LZ0umiCAb3gsxhQ4DUkkD1JeLWHquIsGlvSCuGuKuhybfuYfmsHAQLVZp6l7VvzMyb"
    }
}
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/cloud/vultr/vr_server.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111451.43-78813386728592 `" && echo ansible-tmp-1553111451.43-78813386728592="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111451.43-78813386728592 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmprn7y2O TO /Users/********/.ansible/tmp/ansible-tmp-1553111451.43-78813386728592/vr_server.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111451.43-78813386728592/ /Users/********/.ansible/tmp/ansible-tmp-1553111451.43-78813386728592/vr_server.py && sleep 0'
<localhost> EXEC /bin/sh -c 'VULTR_API_CONFIG=/Users/********/Downloads/algo-master/cloud-vultr.ini python /Users/********/.ansible/tmp/ansible-tmp-1553111451.43-78813386728592/vr_server.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111451.43-78813386728592/ > /dev/null 2>&1 && sleep 0'

TASK [cloud-vultr : Creating a server] *******************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/main.yml:11
changed: [localhost] => {
    "changed": true, 
    "diff": {
        "after": {}, 
        "before": {}
    }, 
    "invocation": {
        "module_args": {
            "api_account": "default", 
            "api_endpoint": null, 
            "api_key": null, 
            "api_retries": null, 
            "api_timeout": null, 
            "auto_backup_enabled": false, 
            "firewall_group": null, 
            "force": false, 
            "hostname": "algo", 
            "ipv6_enabled": true, 
            "name": "algo", 
            "notify_activate": false, 
            "os": "Ubuntu 18.04 x64", 
            "plan": "1024 MB RAM,25 GB SSD,1.00 TB BW", 
            "private_network_enabled": null, 
            "region": "Atlanta", 
            "reserved_ip_v4": null, 
            "ssh_key": "algo@ssh", 
            "ssh_keys": [
                "algo@ssh"
            ], 
            "startup_script": null, 
            "state": "started", 
            "tag": "Environment:Algo", 
            "user_data": null, 
            "validate_certs": true
        }
    }, 
    "vultr_api": {
        "api_account": "default", 
        "api_endpoint": "https://api.vultr.com", 
        "api_retries": 5, 
        "api_timeout": 60
    }, 
    "vultr_server": {
        "allowed_bandwidth_gb": 1000, 
        "auto_backup_enabled": false, 
        "cost_per_month": 5.0, 
        "current_bandwidth_gb": 0, 
        "date_created": "2019-03-20 15:50:55", 
        "default_password": "p2S@@4@k!D.Sc6=k", 
        "disk": "Virtual 25 GB", 
        "firewall_group": null, 
        "id": "23492567", 
        "internal_ip": "", 
        "kvm_url": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8UjZGVDR2TGtOOTNiMlMzTHo0RjQxQlZCd2t6R1pkTWl8aq94_fQm9-Sa7eORMw7KYI2-ZoR8GvPZeumCoyJg8YF36zf0ejxtlCRjgFbSiNKa2D4swxkysbGaXrZ9QMrPR1b46AmAvNYymULW_RWeQVm2mPVgHH7_5mQyhyFnAhIRB0892nK6E2E4gzRGm0J43WWML5jqWFRoHuCQh7uR4g4oGYiD", 
        "name": "algo", 
        "os": "Ubuntu 18.04 x64", 
        "pending_charges": 0.01, 
        "plan": "1024 MB RAM,25 GB SSD,1.00 TB BW", 
        "power_status": "running", 
        "ram": "1024 MB", 
        "region": "Atlanta", 
        "server_state": "installingbooting", 
        "status": "active", 
        "tag": "Environment:Algo", 
        "v4_gateway": "***.***.***.***", 
        "v4_main_ip": "***.***.***.***", 
        "v6_main_ip": "****:****:****:****:****:****:****:****", 
        "v6_network": "****:****:****:****::", 
        "v6_network_size": "64", 
        "v6_networks": [
            {
                "v6_main_ip": "****:****:****:****:****:****:****:****", 
                "v6_network": "****:****:****:****::", 
                "v6_network_size": "64"
            }
        ], 
        "vcpu_count": 1
    }
}
Read vars_file 'config.cfg'

TASK [cloud-vultr : set_fact] ****************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/cloud-vultr/tasks/main.yml:26
ok: [localhost] => {
    "ansible_facts": {
        "ansible_ssh_user": "root", 
        "cloud_instance_ip": "***.***.***.***"
    }, 
    "changed": false
}
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
META: ran handlers
Read vars_file 'config.cfg'

TASK [Set subjectAltName as afact] ***********************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-post.yml:2
ok: [localhost] => {
    "ansible_facts": {
        "IP_subject_alt_name": "***.***.***.***"
    }, 
    "changed": false
}
Read vars_file 'config.cfg'
creating host via 'add_host': hostname=***.***.***.***

TASK [Add the server to an inventory group] **************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-post.yml:6
changed: [localhost] => {
    "add_host": {
        "groups": [
            "vpn-host"
        ], 
        "host_name": "***.***.***.***", 
        "host_vars": {
            "IP_subject_alt_name": "***.***.***.***", 
            "algo_local_dns": false, 
            "algo_ondemand_cellular": true, 
            "algo_ondemand_wifi": true, 
            "algo_ondemand_wifi_exclude": "YWJzLTVnLGNhcnRlcmJ1bmNoLGF0dDUyOA==", 
            "algo_provider": "vultr", 
            "algo_server_name": "algo", 
            "algo_ssh_tunneling": false, 
            "algo_store_cakey": false, 
            "algo_windows": false, 
            "ansible_connection": "ssh", 
            "ansible_python_interpreter": "/usr/bin/python3", 
            "ansible_ssh_user": "root"
        }
    }, 
    "changed": true
}
Read vars_file 'config.cfg'
creating host via 'add_host': hostname=***.***.***.***

TASK [Additional variables for the server] ***************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-post.yml:24
changed: [localhost] => {
    "add_host": {
        "groups": [], 
        "host_name": "***.***.***.***", 
        "host_vars": {
            "ansible_ssh_private_key_file": "configs/algo.pem"
        }
    }, 
    "changed": true
}
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/utilities/logic/wait_for.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ********
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/********/.ansible/tmp/ansible-tmp-1553111533.33-252832365003040 `" && echo ansible-tmp-1553111533.33-252832365003040="` echo /Users/********/.ansible/tmp/ansible-tmp-1553111533.33-252832365003040 `" ) && sleep 0'
<localhost> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmpMyHdjj TO /Users/********/.ansible/tmp/ansible-tmp-1553111533.33-252832365003040/wait_for.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/********/.ansible/tmp/ansible-tmp-1553111533.33-252832365003040/ /Users/********/.ansible/tmp/ansible-tmp-1553111533.33-252832365003040/wait_for.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /Users/********/.ansible/tmp/ansible-tmp-1553111533.33-252832365003040/wait_for.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /Users/********/.ansible/tmp/ansible-tmp-1553111533.33-252832365003040/ > /dev/null 2>&1 && sleep 0'

TASK [Wait until SSH becomes ready...] *******************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-post.yml:30
ok: [localhost] => {
    "changed": false, 
    "elapsed": 24, 
    "invocation": {
        "module_args": {
            "active_connection_states": [
                "ESTABLISHED", 
                "FIN_WAIT1", 
                "FIN_WAIT2", 
                "SYN_RECV", 
                "SYN_SENT", 
                "TIME_WAIT"
            ], 
            "connect_timeout": 5, 
            "delay": 10, 
            "exclude_hosts": null, 
            "host": "***.***.***.***", 
            "msg": null, 
            "path": null, 
            "port": 22, 
            "search_regex": "OpenSSH", 
            "sleep": 1, 
            "state": "present", 
            "timeout": 320
        }
    }, 
    "path": null, 
    "port": 22, 
    "search_regex": "OpenSSH", 
    "state": "present"
}
Read vars_file 'config.cfg'

TASK [debug] *********************************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-post.yml:40
ok: [localhost] => {
    "IP_subject_alt_name": "***.***.***.***"
}
Read vars_file 'config.cfg'
Pausing for 20 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)

TASK [A short pause, in order to be sure the instance is ready] ******************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/playbooks/cloud-post.yml:43
ok: [localhost] => {
    "changed": false, 
    "delta": 20, 
    "echo": true, 
    "rc": 0, 
    "start": "2019-03-20 15:52:38.172848", 
    "stderr": "", 
    "stdout": "Paused for 20.0 seconds", 
    "stop": "2019-03-20 15:52:58.174660", 
    "user_input": ""
}
META: ran handlers
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'

PLAY [Configure the server and install required software] ************************************************************************************************************************************************************************************
META: ran handlers
Read vars_file 'config.cfg'
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 -tt ***.***.***.*** 'uname -a'
<***.***.***.***> (0, 'Linux algo 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/Users/********/.ansible/cp/ae7d5b3fe2" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to ***.***.***.*** [***.***.***.***] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 5971 ms remain after connect\r\ndebug1: identity file configs/algo.pem type 0\r\ndebug1: identity file configs/algo.pem-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_7.8\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4\r\ndebug1: match: OpenSSH_7.6p1 Ubuntu-4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: Authenticating to ***.***.***.***:22 as \'root\'\r\ndebug3: hostkeys_foreach: reading file "/dev/null"\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com,zlib\r\ndebug2: compression stoc: none,zlib@openssh.com,zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com\r\ndebug2: compression stoc: none,zlib@openssh.com\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:XU3ZhtZfcAXY24s1rv53uge+G4C1GWIBe2wK5yJ3fDs\r\ndebug3: hostkeys_foreach: reading file "/dev/null"\r\nWarning: Permanently added \'***.***.***.***\' (ECDSA) to the list of known hosts.\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey after 134217728 blocks\r\ndebug2: key: configs/algo.pem (0x7f9135500380), explicit\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,password\r\ndebug3: start over, passed a different list publickey,password\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: RSA SHA256:kU68UYnqDaZKLgfY/v8/Z5Cwzv+oaJRRKf8rgItC6+A configs/algo.pem\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: pkalg rsa-sha2-512 blen 279\r\ndebug2: input_userauth_pk_ok: fp SHA256:kU68UYnqDaZKLgfY/v8/Z5Cwzv+oaJRRKf8rgItC6+A\r\ndebug3: sign_and_send_pubkey: RSA SHA256:kU68UYnqDaZKLgfY/v8/Z5Cwzv+oaJRRKf8rgItC6+A\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to ***.***.***.*** ([***.***.***.***]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /Users/********/.ansible/cp/ae7d5b3fe2.V2KaAwhtfkuKDchc\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug1: channel 0: new [/Users/********/.ansible/cp/ae7d5b3fe2]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 4\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 71262\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: id\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug1: multiplexing control connection\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 5\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process_mux_master_hello: channel 1 slave version 4\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_master_read_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: process_mux_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 78\r\ndebug2: process_mux_new_session: channel 1: request tty 1, X 0, agent 0, subsys 0, term "xterm-256color", cmd "uname -a", env 1\r\ndebug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: process_mux_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug3: send packet: type 90\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 2: callback start\r\ndebug2: client_session2_setup: id 2\r\ndebug2: channel 2: request pty-req confirm 1\r\ndebug3: send packet: type 98\r\ndebug1: Sending environment.\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 2: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: uname -a\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: channel_input_open_confirmation: channel 2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: PTY allocation request accepted on channel 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug3: receive packet: type 96\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -> drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain -> closed\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux_master_session_cleanup_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open -> drain\r\ndebug2: channel 1: close_read\r\ndebug2: channel 1: input open -> closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n  #1 mux-control (t16 nr0 i3/0 o1/16 fd 5/5 cc -1)\r\n  #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close_write\r\ndebug2: channel 1: output drain -> closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux_master_control_cleanup_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: channel 1: status: The following connections are open:\r\n  #1 mux-control (t16 nr0 i3/0 o3/0 fd 5/5 cc -1)\r\n\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug2: Received exit status from master 0\r\nShared connection to ***.***.***.*** closed.\r\n')

TASK [common : Check the system] *************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/common/tasks/main.yml:3
changed: [***.***.***.***] => {
    "changed": true, 
    "rc": 0, 
    "stderr": "OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket \"/Users/********/.ansible/cp/ae7d5b3fe2\" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to ***.***.***.*** [***.***.***.***] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 5971 ms remain after connect\r\ndebug1: identity file configs/algo.pem type 0\r\ndebug1: identity file configs/algo.pem-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_7.8\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4\r\ndebug1: match: OpenSSH_7.6p1 Ubuntu-4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: Authenticating to ***.***.***.***:22 as 'root'\r\ndebug3: hostkeys_foreach: reading file \"/dev/null\"\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com,zlib\r\ndebug2: compression stoc: none,zlib@openssh.com,zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com\r\ndebug2: compression stoc: none,zlib@openssh.com\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:XU3ZhtZfcAXY24s1rv53uge+G4C1GWIBe2wK5yJ3fDs\r\ndebug3: hostkeys_foreach: reading file \"/dev/null\"\r\nWarning: Permanently added '***.***.***.***' (ECDSA) to the list of known hosts.\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey after 134217728 blocks\r\ndebug2: key: configs/algo.pem (0x7f9135500380), explicit\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,password\r\ndebug3: start over, passed a different list publickey,password\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: RSA SHA256:kU68UYnqDaZKLgfY/v8/Z5Cwzv+oaJRRKf8rgItC6+A configs/algo.pem\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: pkalg rsa-sha2-512 blen 279\r\ndebug2: input_userauth_pk_ok: fp SHA256:kU68UYnqDaZKLgfY/v8/Z5Cwzv+oaJRRKf8rgItC6+A\r\ndebug3: sign_and_send_pubkey: RSA SHA256:kU68UYnqDaZKLgfY/v8/Z5Cwzv+oaJRRKf8rgItC6+A\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to ***.***.***.*** ([***.***.***.***]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /Users/********/.ansible/cp/ae7d5b3fe2.V2KaAwhtfkuKDchc\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug1: channel 0: new [/Users/********/.ansible/cp/ae7d5b3fe2]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 4\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 71262\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: id\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug1: multiplexing control connection\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 5\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process_mux_master_hello: channel 1 slave version 4\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_master_read_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: process_mux_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 78\r\ndebug2: process_mux_new_session: channel 1: request tty 1, X 0, agent 0, subsys 0, term \"xterm-256color\", cmd \"uname -a\", env 1\r\ndebug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: process_mux_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug3: send packet: type 90\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 2: callback start\r\ndebug2: client_session2_setup: id 2\r\ndebug2: channel 2: request pty-req confirm 1\r\ndebug3: send packet: type 98\r\ndebug1: Sending environment.\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 2: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: uname -a\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: channel_input_open_confirmation: channel 2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: PTY allocation request accepted on channel 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug3: receive packet: type 96\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -> drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain -> closed\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux_master_session_cleanup_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open -> drain\r\ndebug2: channel 1: close_read\r\ndebug2: channel 1: input open -> closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n  #1 mux-control (t16 nr0 i3/0 o1/16 fd 5/5 cc -1)\r\n  #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close_write\r\ndebug2: channel 1: output drain -> closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux_master_control_cleanup_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: channel 1: status: The following connections are open:\r\n  #1 mux-control (t16 nr0 i3/0 o3/0 fd 5/5 cc -1)\r\n\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug2: Received exit status from master 0\r\nShared connection to ***.***.***.*** closed.\r\n", 
    "stdout": "Linux algo 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n", 
    "stdout_lines": [
        "Linux algo 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux"
    ]
}
Read vars_file 'config.cfg'

TASK [common : include_tasks] ****************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/common/tasks/main.yml:9
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/common/tasks/unattended-upgrades.yml
Read vars_file 'config.cfg'
statically imported: /Users/********/Downloads/algo-master/roles/common/tasks/facts.yml
Read vars_file 'config.cfg'
included: /Users/********/Downloads/algo-master/roles/common/tasks/ubuntu.yml for ***.***.***.***
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/system/setup.py
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 ***.***.***.*** '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<***.***.***.***> (0, '/root\n', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 ***.***.***.*** '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360 `" && echo ansible-tmp-1553111582.37-17657048081360="` echo /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360 `" ) && sleep 0'"'"''
<***.***.***.***> (0, 'ansible-tmp-1553111582.37-17657048081360=/root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360\n', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmp2g0Rg0 TO /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360/setup.py
<***.***.***.***> SSH: EXEC scp -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmp2g0Rg0 '[***.***.***.***]:/root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360/setup.py'
<***.***.***.***> (0, '', 'Executing: program /usr/bin/ssh host ***.***.***.***, user (unspecified), command scp -v -t /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360/setup.py\nOpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 204353 tmp2g0Rg0\nSink: C0600 204353 tmp2g0Rg0\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 ***.***.***.*** '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360/ /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360/setup.py && sleep 0'"'"''
<***.***.***.***> (0, '', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 -tt ***.***.***.*** '/bin/sh -c '"'"'/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360/setup.py && sleep 0'"'"''
<***.***.***.***> (0, '\r\n{"ansible_facts": {"ansible_pkg_mgr": "apt", "ansible_system": "Linux", "ansible_kernel": "4.15.0-36-generic", "ansible_machine": "x86_64", "ansible_python_version": "3.6.6", "ansible_fqdn": "algo", "ansible_hostname": "algo", "ansible_nodename": "algo", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "e7a5fe83357446789931196371e77367", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDcPcIT1cjsoI7zhX+ADUTJpqompq1UesUqF/itj9YwEhUnNmbwbmV8yOnFy2uh8+4drDVgivv5DsvLoGtA7UQZbwZ3RuIJiau57iRYA8hn7enc10JIMEa81KlY8RJwPeKvcZbAaUEX5Z5W+DDA1KZ+wy7Uu5Ve7rX+7kbdjWhTN1RspS5d4M9kzrwFVORXmFA4O5bi4TF2ZEZSQyfa/3El0w3qubQ4JPnbY3KJuTaaogYNJhCAS6hNHY8yMQB7F+A/I6Fcpe6KPTvHVKy6itOt0l2obakEUJLGOaIkV5mAVhkPzccTI5R2N9XsRwM9wQ/WQHipyoT+4EIY3abztaJL", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPussvNTVnXPEfy/zZQB9vdhQTZy8aqylBRgmq4l5QDDTfEmRzUSrwOV9MlWbJuznD74NQye1MKMdE+HszqZ20c=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIDCL7TgEZD6QaFPXHMhooQ98hLm8ijgTndPj96YrXCk2", "ansible_lsb": {"id": "Ubuntu", "description": "Ubuntu 18.04.1 LTS", "release": "18.04", "codename": "bionic", "major_release": "18"}, "ansible_distribution": "Ubuntu", "ansible_distribution_release": "bionic", "ansible_distribution_version": "18.04", "ansible_distribution_major_version": "18", "ansible_distribution_file_path": "/etc/os-release", "ansible_distribution_file_variety": "Debian", "ansible_distribution_file_parsed": true, "ansible_os_family": "Debian", "ansible_virtualization_type": "kvm", "ansible_virtualization_role": "guest", "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_system_capabilities_enforced": "True", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "cap_wake_alarm", "cap_block_suspend", "cap_audit_read+ep"], "ansible_is_chroot": false, "ansible_local": {}, "ansible_date_time": {"year": "2019", "month": "03", "weekday": "Wednesday", "weekday_number": "3", "weeknumber": "11", "day": "20", "hour": "19", "minute": "53", "second": "03", "epoch": "1553111583", "date": "2019-03-20", "time": "19:53:03", "iso8601_micro": "2019-03-20T19:53:03.354126Z", "iso8601": "2019-03-20T19:53:03Z", "iso8601_basic": "20190320T195303353798", "iso8601_basic_short": "20190320T195303", "tz": "UTC", "tz_offset": "+0000"}, "ansible_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-4.15.0-36-generic", "root": "UUID=133a1e39-8da9-4120-92e1-4b54f8281f1b", "ro": true, "consoleblank": "0"}, "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 6, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 6, "final", 0], "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython"}, "ansible_apparmor": {"status": "enabled"}, "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_selinux_python_present": false, "ansible_interfaces": ["lo", "ens3"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "***.***.***.***", "broadcast": "host", "netmask": "***.***.***.***", "network": "***.***.***.***"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "udp_fragmentation_offload": "off", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]"}, "timestamping": ["tx_software", "rx_software", "software"], "hw_timestamp_filters": []}, "ansible_ens3": {"device": "ens3", "macaddress": "56:00:01:f5:ab:93", "mtu": 1500, "active": true, "module": "virtio_net", "type": "ether", "pciid": "virtio0", "speed": -1, "promisc": false, "ipv4": {"address": "***.***.***.***", "broadcast": "***.***.***.***", "netmask": "***.***.***.***", "network": "***.***.***.***"}, "ipv6": [{"address": "2001:19f0:5401:2d67:5400:1ff:fef5:ab93", "prefix": "64", "scope": "global"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "udp_fragmentation_offload": "off", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "on [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]"}, "timestamping": ["tx_software", "rx_software", "software"], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "***.***.***.***", "interface": "ens3", "address": "***.***.***.***", "broadcast": "***.***.***.***", "netmask": "***.***.***.***", "network": "***.***.***.***", "macaddress": "56:00:01:f5:ab:93", "mtu": 1500, "type": "ether", "alias": "ens3"}, "ansible_default_ipv6": {"gateway": "fe80::fc00:1ff:fef5:ab93", "interface": "ens3", "address": "2001:19f0:5401:2d67:5400:1ff:fef5:ab93", "prefix": "64", "scope": "global", "macaddress": "56:00:01:f5:ab:93", "mtu": 1500, "type": "ether"}, "ansible_all_ipv4_addresses": ["***.***.***.***"], "ansible_all_ipv6_addresses": ["2001:19f0:5401:2d67:5400:1ff:fef5:ab93", "fe80::5400:1ff:fef5:ab93"], "ansible_fips": false, "ansible_dns": {"nameservers": ["***.***.***.***"]}, "ansible_env": {"MAIL": "/var/mail/root", "USER": "root", "SSH_CLIENT": "***.***.***.*** 50081 22", "SHLVL": "1", "HOME": "/root", "SSH_TTY": "/dev/pts/0", "LOGNAME": "root", "_": "/bin/sh", "XDG_SESSION_ID": "1", "TERM": "xterm-256color", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games", "XDG_RUNTIME_DIR": "/run/user/0", "LANG": "en_US.UTF-8", "SHELL": "/bin/bash", "PWD": "/root", "SSH_CONNECTION": "***.***.***.*** 50081 ***.***.***.*** 22"}, "ansible_processor": ["0", "GenuineIntel", "Virtual CPU a7769a6388d5"], "ansible_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 1, "ansible_processor_vcpus": 1, "ansible_memtotal_mb": 985, "ansible_memfree_mb": 465, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 985, "used": 520, "free": 465}, "nocache": {"free": 867, "used": 118}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "04/01/2014", "ansible_bios_version": "rel-1.11.2-0-gf9626ccb91-prebuilt.qemu-project.org", "ansible_form_factor": "Other", "ansible_product_name": "Standard PC (i440FX + PIIX, 1996)", "ansible_product_serial": "NA", "ansible_product_uuid": "E7A5FE83-3574-4678-9931-196371E77367", "ansible_product_version": "pc-i440fx-3.0", "ansible_system_vendor": "QEMU", "ansible_devices": {"loop1": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop6": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop4": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "sr0": {"virtual": 1, "links": {"ids": ["ata-QEMU_DVD-ROM_QM00003"], "uuids": [], "labels": [], "masters": []}, "vendor": "QEMU", "model": "QEMU DVD-ROM", "sas_address": null, "sas_device_handle": null, "removable": "1", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "cfq", "sectors": "2097151", "sectorsize": "512", "size": "1024.00 MB", "host": "IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]", "holders": []}, "loop2": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop0": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "4096", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop7": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "vda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": "0x1af4", "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"vda1": {"links": {"ids": [], "uuids": ["133a1e39-8da9-4120-92e1-4b54f8281f1b"], "labels": [], "masters": []}, "start": "2048", "sectors": "52426719", "sectorsize": 512, "size": "25.00 GB", "uuid": "133a1e39-8da9-4120-92e1-4b54f8281f1b", "holders": []}}, "rotational": "1", "scheduler_mode": "none", "sectors": "52428800", "sectorsize": "512", "size": "25.00 GB", "host": "SCSI storage controller: Red Hat, Inc Virtio block device", "holders": []}, "loop5": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop3": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}}, "ansible_device_links": {"ids": {"sr0": ["ata-QEMU_DVD-ROM_QM00003"]}, "uuids": {"vda1": ["133a1e39-8da9-4120-92e1-4b54f8281f1b"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 53, "ansible_lvm": {"lvs": {}, "vgs": {}, "pvs": {}}, "ansible_mounts": [{"mount": "/", "device": "/dev/vda1", "fstype": "ext4", "options": "rw,relatime,errors=remount-ro,data=ordered", "uuid": "133a1e39-8da9-4120-92e1-4b54f8281f1b", "size_total": 26363904000, "size_available": 22750724096, "block_size": 4096, "block_total": 6436500, "block_available": 5554376, "block_used": 882124, "inode_total": 1600000, "inode_available": 1490505, "inode_used": 109495}], "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to ***.***.***.*** closed.\r\n')
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 ***.***.***.*** '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1553111582.37-17657048081360/ > /dev/null 2>&1 && sleep 0'"'"''
<***.***.***.***> (0, '', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')

TASK [common : Gather facts] *****************************************************************************************************************************************************************************************************************
task path: /Users/********/Downloads/algo-master/roles/common/tasks/ubuntu.yml:2
ok: [***.***.***.***]
Read vars_file 'config.cfg'
Using module file /Users/********/Downloads/algo-master/env/lib/python2.7/site-packages/ansible/modules/packaging/os/apt.py
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 ***.***.***.*** '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<***.***.***.***> (0, '/root\n', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 ***.***.***.*** '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200 `" && echo ansible-tmp-1553111584.76-147841598556200="` echo /root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200 `" ) && sleep 0'"'"''
<***.***.***.***> (0, 'ansible-tmp-1553111584.76-147841598556200=/root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200\n', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> PUT /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmplYPULP TO /root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200/apt.py
<***.***.***.***> SSH: EXEC scp -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 /Users/********/.ansible/tmp/ansible-local-70833s1ql65/tmplYPULP '[***.***.***.***]:/root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200/apt.py'
<***.***.***.***> (0, '', 'Executing: program /usr/bin/ssh host ***.***.***.***, user (unspecified), command scp -v -t /root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200/apt.py\nOpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 94954 tmplYPULP\nSink: C0600 94954 tmplYPULP\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 ***.***.***.*** '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200/ /root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200/apt.py && sleep 0'"'"''
<***.***.***.***> (0, '', 'OpenSSH_7.8p1, LibreSSL 2.6.2\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug2: resolve_canonicalize: hostname ***.***.***.*** is address\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 = 71264\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<***.***.***.***> ESTABLISH SSH CONNECTION FOR USER: root
<***.***.***.***> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o ConnectionAttempts=30 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 'IdentityFile="configs/algo.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/Users/********/.ansible/cp/ae7d5b3fe2 -tt ***.***.***.*** '/bin/sh -c '"'"'/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1553111584.76-147841598556200/apt.py && sleep 0'"'"''
TC1977 commented 5 years ago

A google search for "ansible ssh broken pipe" gives me https://github.com/ansible/ansible/issues/26359 and multiple other similar reports.

What version of ansible (and what OS) are you running on your laptop?

arejay73 commented 5 years ago

MacOS 10.13.6 Ansible 2.5.2

jackmcpickle commented 5 years ago

@arejay73 I had what seemed to be the same issue. But waited 5mins and then it continued install.

TC1977 commented 5 years ago

@arejay73 From that issue I linked to above:

I had a similar issue, I was able to 'fix' it by setting pipelining option in ansible.cfg from True to False, running the playbook again (this time successfully) and then setting pipelining back to True which caused subsequent playbook to run correctly, too.

Wanna try that?

rodeodomino commented 5 years ago

This conversation is still going, but wanted to update that i could not reproduce with -vvvvv. Not sure what was going on. It might have been because I was trying to include @dan-v's Pihole integration and that put too much CPU strain on it, but I don't want to report a bug for an usupported feature.

arejay73 commented 5 years ago

@arejay73 I had what seemed to be the same issue. But waited 5mins and then it continued install.

I tried this morning still no luck. Here are the stats before I exited out. real 60m52.157s user 3m39.227s sys 0m49.947s

arejay73 commented 5 years ago

@arejay73 From that issue I linked to above:

I had a similar issue, I was able to 'fix' it by setting pipelining option in ansible.cfg from True to False, running the playbook again (this time successfully) and then setting pipelining back to True which caused subsequent playbook to run correctly, too.

Wanna try that?

I just tried and it did not work. Here are the stats before I exited out. real 44m0.995s user 2m53.782s sys 0m40.045s

TC1977 commented 5 years ago

Just to update my two cents, I've deployed multiple servers onto the Vultr New Jersey region without any problems. This has gotta be an Ansible or local machine/LAN problem, not Algo or Vultr.

Try downloading into a completely new folder, and proceeding from there? Or try installing the newest commit which upgrades to Ansible 2.7.10?

arejay73 commented 5 years ago

Tried it today with latest download from master branch and it worked. Thanks.

Hadi-1624 commented 4 years ago

I'm sorry i'm this is the wrong place to ask, but i'm having issues with vultr locations: london and germany FR, when i host algo in those two locations then my clients can't connect and i will get failed handshake errors. when i host algo on the aamerican locations though i can easily connect. Does anyone have similar issues like me?

TC1977 commented 4 years ago

Might be better to ask on Gitter chat.