Created
May 7, 2020 10:09
-
-
Save deepbrook/3bab0bff514bda71a9a23703dd816eb6 to your computer and use it in GitHub Desktop.
molecule --debug test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--> Test matrix | |
└── default | |
├── lint | |
├── syntax | |
├── destroy | |
├── create | |
├── converge | |
├── verify | |
└── destroy | |
--> Scenario: 'default' | |
--> Action: 'lint' | |
--> Executing: set -e | |
yamllint . | |
ansible-lint . | |
Examining /home/nls/devel/ansible-role-bb-consul/tasks/main.yml of type tasks | |
Examining /home/nls/devel/ansible-role-bb-consul/handlers/main.yml of type handlers | |
Examining /home/nls/devel/ansible-role-bb-consul/meta/main.yml of type meta | |
Examining /home/nls/devel/ansible-role-bb-consul/tasks/create-user.yml of type tasks | |
Examining /home/nls/devel/ansible-role-bb-consul/tasks/install-binary.yml of type tasks | |
Examining /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml of type tasks | |
--> Scenario: 'default' | |
--> Action: 'syntax' | |
--> Sanity checks: 'docker' | |
DEBUG: ANSIBLE ENVIRONMENT | |
--- | |
ANSIBLE_COLLECTIONS_PATHS: /home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections | |
ANSIBLE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg | |
ANSIBLE_FILTER_PLUGINS: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter | |
ANSIBLE_LIBRARY: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules | |
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3 | |
ANSIBLE_ROLES_PATH: /home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles | |
DEBUG: MOLECULE ENVIRONMENT | |
--- | |
MOLECULE_DEBUG: 'True' | |
MOLECULE_DEPENDENCY_NAME: galaxy | |
MOLECULE_DRIVER_NAME: docker | |
MOLECULE_ENV_FILE: /home/nls/devel/ansible-role-bb-consul/.env.yml | |
MOLECULE_EPHEMERAL_DIRECTORY: /home/nls/.cache/molecule/ansible-role-bb-consul/default | |
MOLECULE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml | |
MOLECULE_INSTANCE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml | |
MOLECULE_INVENTORY_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml | |
MOLECULE_PROJECT_DIRECTORY: /home/nls/devel/ansible-role-bb-consul | |
MOLECULE_PROVISIONER_NAME: ansible | |
MOLECULE_SCENARIO_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default | |
MOLECULE_SCENARIO_NAME: default | |
MOLECULE_STATE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml | |
MOLECULE_VERIFIER_NAME: ansible | |
MOLECULE_VERIFIER_TEST_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: SHELL REPLAY | |
ANSIBLE_COLLECTIONS_PATHS=/home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections ANSIBLE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg ANSIBLE_FILTER_PLUGINS=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter ANSIBLE_LIBRARY=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 ANSIBLE_ROLES_PATH=/home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/home/nls/devel/ansible-role-bb-consul/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/home/nls/.cache/molecule/ansible-role-bb-consul/default MOLECULE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml MOLECULE_INVENTORY_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml MOLECULE_PROJECT_DIRECTORY=/home/nls/devel/ansible-role-bb-consul MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_STATE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml MOLECULE_VERIFIER_NAME=ansible MOLECULE_VERIFIER_TEST_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: COMMAND | |
/home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook --skip-tags=molecule-notest,notest --diff --syntax-check --inventory=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory /home/nls/devel/ansible-role-bb-consul/molecule/shared/converge.yml -vvv | |
[0;34mansible-playbook 2.9.6[0m | |
[0;34m config file = /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg[0m | |
[0;34m configured module search path = ['/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules', '/home/nls/.cache/molecule/ansible-role-bb-consul/default/library', '/home/nls/devel/ansible-role-bb-consul/library', '/home/nls/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'][0m | |
[0;34m ansible python module location = /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible[0m | |
[0;34m executable location = /home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook[0m | |
[0;34m python version = 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0][0m | |
[0;34m[0m[0;34mUsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg as config file[0m | |
[0;34m[0m[0;34mhost_list declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mscript declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mParsed /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml inventory source with yaml plugin[0m | |
[0;34m[0m[0;34mstatically imported: /home/nls/devel/ansible-role-bb-consul/tasks/create-user.yml[0m | |
[0;34m[0m[0;34mstatically imported: /home/nls/devel/ansible-role-bb-consul/tasks/install-binary.yml[0m | |
[0;34m[0m[0;34mstatically imported: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml[0m | |
[0;34m[0m[0;34m1 plays in /home/nls/devel/ansible-role-bb-consul/molecule/shared/converge.yml[0m | |
[0;34m[0m | |
playbook: /home/nls/devel/ansible-role-bb-consul/molecule/shared/converge.yml | |
--> Scenario: 'default' | |
--> Action: 'destroy' | |
DEBUG: ANSIBLE ENVIRONMENT | |
--- | |
ANSIBLE_COLLECTIONS_PATHS: /home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections | |
ANSIBLE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg | |
ANSIBLE_FILTER_PLUGINS: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter | |
ANSIBLE_LIBRARY: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules | |
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3 | |
ANSIBLE_ROLES_PATH: /home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles | |
DEBUG: MOLECULE ENVIRONMENT | |
--- | |
MOLECULE_DEBUG: 'True' | |
MOLECULE_DEPENDENCY_NAME: galaxy | |
MOLECULE_DRIVER_NAME: docker | |
MOLECULE_ENV_FILE: /home/nls/devel/ansible-role-bb-consul/.env.yml | |
MOLECULE_EPHEMERAL_DIRECTORY: /home/nls/.cache/molecule/ansible-role-bb-consul/default | |
MOLECULE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml | |
MOLECULE_INSTANCE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml | |
MOLECULE_INVENTORY_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml | |
MOLECULE_PROJECT_DIRECTORY: /home/nls/devel/ansible-role-bb-consul | |
MOLECULE_PROVISIONER_NAME: ansible | |
MOLECULE_SCENARIO_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default | |
MOLECULE_SCENARIO_NAME: default | |
MOLECULE_STATE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml | |
MOLECULE_VERIFIER_NAME: ansible | |
MOLECULE_VERIFIER_TEST_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: SHELL REPLAY | |
ANSIBLE_COLLECTIONS_PATHS=/home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections ANSIBLE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg ANSIBLE_FILTER_PLUGINS=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter ANSIBLE_LIBRARY=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 ANSIBLE_ROLES_PATH=/home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/home/nls/devel/ansible-role-bb-consul/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/home/nls/.cache/molecule/ansible-role-bb-consul/default MOLECULE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml MOLECULE_INVENTORY_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml MOLECULE_PROJECT_DIRECTORY=/home/nls/devel/ansible-role-bb-consul MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_STATE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml MOLECULE_VERIFIER_NAME=ansible MOLECULE_VERIFIER_TEST_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: COMMAND | |
/home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook --skip-tags=molecule-notest,notest --diff --inventory=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml -vvv | |
[0;34mansible-playbook 2.9.6[0m | |
[0;34m config file = /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg[0m | |
[0;34m configured module search path = ['/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules', '/home/nls/.cache/molecule/ansible-role-bb-consul/default/library', '/home/nls/devel/ansible-role-bb-consul/library', '/home/nls/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'][0m | |
[0;34m ansible python module location = /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible[0m | |
[0;34m executable location = /home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook[0m | |
[0;34m python version = 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0][0m | |
[0;34m[0m[0;34mUsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg as config file[0m | |
[0;34m[0m[0;34mhost_list declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mscript declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mParsed /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml inventory source with yaml plugin[0m | |
[0;34m[0m | |
PLAYBOOK: destroy.yml ********************************************************** | |
[0;34m1 plays in /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml[0m | |
[0;34m[0m | |
PLAY [Destroy] ***************************************************************** | |
[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
TASK [Destroy molecule instance(s)] ******************************************** | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml:8[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607 `" && echo ansible-tmp-1588845717.667985-101368335558607="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/cloud/docker/docker_container.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-27814im969huh/tmpu5xlbcab TO /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607/AnsiballZ_docker_container.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-27814im969huh/tmp_rh8h1u2 TO /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607/async_wrapper.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607/ /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607/AnsiballZ_docker_container.py /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607/async_wrapper.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'ANSIBLE_ASYNC_DIR='"'"'~/.ansible_async'"'"' /home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607/async_wrapper.py 665837625422 7200 /home/nls/.ansible/tmp/ansible-tmp-1588845717.667985-101368335558607/AnsiballZ_docker_container.py _ && sleep 0'[0m | |
[0;34m[0m[0;33mchanged: [localhost] => (item=consul-agent) => {[0m | |
[0;33m "ansible_job_id": "665837625422.27840",[0m | |
[0;33m "ansible_loop_var": "item",[0m | |
[0;33m "changed": true,[0m | |
[0;33m "finished": 0,[0m | |
[0;33m "item": {[0m | |
[0;33m "command": "",[0m | |
[0;33m "dockerfile": "../shared/Dockerfile.j2",[0m | |
[0;33m "image": "geerlingguy/docker-ubuntu1804-ansible:latest",[0m | |
[0;33m "name": "consul-agent",[0m | |
[0;33m "pre_build_image": true,[0m | |
[0;33m "privileged": true,[0m | |
[0;33m "volumes": [[0m | |
[0;33m "/sys/fs/cgroup:/sys/fs/cgroup:ro"[0m | |
[0;33m ][0m | |
[0;33m },[0m | |
[0;33m "results_file": "/home/nls/.ansible_async/665837625422.27840",[0m | |
[0;33m "started": 1[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [Wait for instance(s) deletion to complete] ******************************* | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml:28[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845718.2485058-106610845116749 `" && echo ansible-tmp-1588845718.2485058-106610845116749="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845718.2485058-106610845116749 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/utilities/logic/async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-27814im969huh/tmpaiwy2i3y TO /home/nls/.ansible/tmp/ansible-tmp-1588845718.2485058-106610845116749/AnsiballZ_async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845718.2485058-106610845116749/ /home/nls/.ansible/tmp/ansible-tmp-1588845718.2485058-106610845116749/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '/home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845718.2485058-106610845116749/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/nls/.ansible/tmp/ansible-tmp-1588845718.2485058-106610845116749/ > /dev/null 2>&1 && sleep 0'[0m | |
[0;34m[0m[0;32mok: [localhost] => (item=None) => {[0m | |
[0;32m "attempts": 1,[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m[0;32mok: [localhost] => {[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [Delete docker network(s)] ************************************************ | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml:36[0m | |
[1;30m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
PLAY RECAP ********************************************************************* | |
[0;33mlocalhost[0m : [0;32mok=2 [0m [0;33mchanged=1 [0m unreachable=0 failed=0 [0;36mskipped=1 [0m rescued=0 ignored=0 | |
--> Scenario: 'default' | |
--> Action: 'create' | |
DEBUG: ANSIBLE ENVIRONMENT | |
--- | |
ANSIBLE_COLLECTIONS_PATHS: /home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections | |
ANSIBLE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg | |
ANSIBLE_FILTER_PLUGINS: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter | |
ANSIBLE_LIBRARY: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules | |
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3 | |
ANSIBLE_ROLES_PATH: /home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles | |
DEBUG: MOLECULE ENVIRONMENT | |
--- | |
MOLECULE_DEBUG: 'True' | |
MOLECULE_DEPENDENCY_NAME: galaxy | |
MOLECULE_DRIVER_NAME: docker | |
MOLECULE_ENV_FILE: /home/nls/devel/ansible-role-bb-consul/.env.yml | |
MOLECULE_EPHEMERAL_DIRECTORY: /home/nls/.cache/molecule/ansible-role-bb-consul/default | |
MOLECULE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml | |
MOLECULE_INSTANCE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml | |
MOLECULE_INVENTORY_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml | |
MOLECULE_PROJECT_DIRECTORY: /home/nls/devel/ansible-role-bb-consul | |
MOLECULE_PROVISIONER_NAME: ansible | |
MOLECULE_SCENARIO_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default | |
MOLECULE_SCENARIO_NAME: default | |
MOLECULE_STATE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml | |
MOLECULE_VERIFIER_NAME: ansible | |
MOLECULE_VERIFIER_TEST_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: SHELL REPLAY | |
ANSIBLE_COLLECTIONS_PATHS=/home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections ANSIBLE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg ANSIBLE_FILTER_PLUGINS=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter ANSIBLE_LIBRARY=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 ANSIBLE_ROLES_PATH=/home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/home/nls/devel/ansible-role-bb-consul/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/home/nls/.cache/molecule/ansible-role-bb-consul/default MOLECULE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml MOLECULE_INVENTORY_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml MOLECULE_PROJECT_DIRECTORY=/home/nls/devel/ansible-role-bb-consul MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_STATE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml MOLECULE_VERIFIER_NAME=ansible MOLECULE_VERIFIER_TEST_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: COMMAND | |
/home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook --skip-tags=molecule-notest,notest --diff --inventory=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml -vvv | |
[0;34mansible-playbook 2.9.6[0m | |
[0;34m config file = /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg[0m | |
[0;34m configured module search path = ['/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules', '/home/nls/.cache/molecule/ansible-role-bb-consul/default/library', '/home/nls/devel/ansible-role-bb-consul/library', '/home/nls/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'][0m | |
[0;34m ansible python module location = /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible[0m | |
[0;34m executable location = /home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook[0m | |
[0;34m python version = 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0][0m | |
[0;34m[0m[0;34mUsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg as config file[0m | |
[0;34m[0m[0;34mhost_list declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mscript declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mParsed /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml inventory source with yaml plugin[0m | |
[0;34m[0m | |
PLAYBOOK: create.yml *********************************************************** | |
[0;34m1 plays in /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml[0m | |
[0;34m[0m | |
PLAY [Create] ****************************************************************** | |
[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
TASK [Log into a Docker registry] ********************************************** | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:11[0m | |
[1;30m[0m[0;36mskipping: [localhost] => (item=None) => {[0m | |
[0;36m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;36m "changed": false[0m | |
[0;36m}[0m | |
[0;36m[0m | |
TASK [Check presence of custom Dockerfiles] ************************************ | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:28[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845720.5090933-262633284092331 `" && echo ansible-tmp-1588845720.5090933-262633284092331="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845720.5090933-262633284092331 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/stat.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-278979xw3rm1i/tmpwiha3_tg TO /home/nls/.ansible/tmp/ansible-tmp-1588845720.5090933-262633284092331/AnsiballZ_stat.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845720.5090933-262633284092331/ /home/nls/.ansible/tmp/ansible-tmp-1588845720.5090933-262633284092331/AnsiballZ_stat.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '/home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845720.5090933-262633284092331/AnsiballZ_stat.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/nls/.ansible/tmp/ansible-tmp-1588845720.5090933-262633284092331/ > /dev/null 2>&1 && sleep 0'[0m | |
[0;34m[0m[0;32mok: [localhost] => (item=None) => {[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m[0;32mok: [localhost] => {[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [Create Dockerfiles from image names] ************************************* | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:34[0m | |
[1;30m[0m[0;36mskipping: [localhost] => (item=None) => {[0m | |
[0;36m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;36m "changed": false[0m | |
[0;36m}[0m | |
[0;36m[0m | |
TASK [Discover local Docker images] ******************************************** | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:52[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845721.1513867-138510432973849 `" && echo ansible-tmp-1588845721.1513867-138510432973849="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845721.1513867-138510432973849 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/cloud/docker/docker_image_info.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-278979xw3rm1i/tmplt0ksr8h TO /home/nls/.ansible/tmp/ansible-tmp-1588845721.1513867-138510432973849/AnsiballZ_docker_image_info.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845721.1513867-138510432973849/ /home/nls/.ansible/tmp/ansible-tmp-1588845721.1513867-138510432973849/AnsiballZ_docker_image_info.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '/home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845721.1513867-138510432973849/AnsiballZ_docker_image_info.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/nls/.ansible/tmp/ansible-tmp-1588845721.1513867-138510432973849/ > /dev/null 2>&1 && sleep 0'[0m | |
[0;34m[0m[0;32mok: [localhost] => (item=None) => {[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m[0;32mok: [localhost] => {[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [Build an Ansible compatible image (new)] ********************************* | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:65[0m | |
[1;30m[0m[0;36mskipping: [localhost] => (item=molecule_local/geerlingguy/docker-ubuntu1804-ansible:latest) => {[0m | |
[0;36m "ansible_loop_var": "item",[0m | |
[0;36m "changed": false,[0m | |
[0;36m "item": {[0m | |
[0;36m "ansible_index_var": "i",[0m | |
[0;36m "ansible_loop_var": "item",[0m | |
[0;36m "changed": false,[0m | |
[0;36m "i": 0,[0m | |
[0;36m "item": {[0m | |
[0;36m "command": "",[0m | |
[0;36m "dockerfile": "../shared/Dockerfile.j2",[0m | |
[0;36m "image": "geerlingguy/docker-ubuntu1804-ansible:latest",[0m | |
[0;36m "name": "consul-agent",[0m | |
[0;36m "pre_build_image": true,[0m | |
[0;36m "privileged": true,[0m | |
[0;36m "volumes": [[0m | |
[0;36m "/sys/fs/cgroup:/sys/fs/cgroup:ro"[0m | |
[0;36m ][0m | |
[0;36m },[0m | |
[0;36m "skip_reason": "Conditional result was False",[0m | |
[0;36m "skipped": true[0m | |
[0;36m },[0m | |
[0;36m "skip_reason": "Conditional result was False"[0m | |
[0;36m}[0m | |
[0;36m[0m | |
TASK [Create docker network(s)] ************************************************ | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:93[0m | |
[1;30m[0m | |
TASK [Determine the CMD directives] ******************************************** | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:108[0m | |
[1;30m[0m[0;32mok: [localhost] => (item=None) => {[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m[0;32mok: [localhost] => {[0m | |
[0;32m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [Create molecule instance(s)] ********************************************* | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:117[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452 `" && echo ansible-tmp-1588845722.3030345-225157838193452="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/cloud/docker/docker_container.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-278979xw3rm1i/tmpyztsu81x TO /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452/AnsiballZ_docker_container.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-278979xw3rm1i/tmpfmsjpaul TO /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452/async_wrapper.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452/ /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452/AnsiballZ_docker_container.py /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452/async_wrapper.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'ANSIBLE_ASYNC_DIR='"'"'~/.ansible_async'"'"' /home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452/async_wrapper.py 568763525839 7200 /home/nls/.ansible/tmp/ansible-tmp-1588845722.3030345-225157838193452/AnsiballZ_docker_container.py _ && sleep 0'[0m | |
[0;34m[0m[0;33mchanged: [localhost] => (item=consul-agent) => {[0m | |
[0;33m "ansible_job_id": "568763525839.28001",[0m | |
[0;33m "ansible_loop_var": "item",[0m | |
[0;33m "changed": true,[0m | |
[0;33m "finished": 0,[0m | |
[0;33m "item": {[0m | |
[0;33m "command": "",[0m | |
[0;33m "dockerfile": "../shared/Dockerfile.j2",[0m | |
[0;33m "image": "geerlingguy/docker-ubuntu1804-ansible:latest",[0m | |
[0;33m "name": "consul-agent",[0m | |
[0;33m "pre_build_image": true,[0m | |
[0;33m "privileged": true,[0m | |
[0;33m "volumes": [[0m | |
[0;33m "/sys/fs/cgroup:/sys/fs/cgroup:ro"[0m | |
[0;33m ][0m | |
[0;33m },[0m | |
[0;33m "results_file": "/home/nls/.ansible_async/568763525839.28001",[0m | |
[0;33m "started": 1[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [Wait for instance(s) creation to complete] ******************************* | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:166[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845722.9126532-102967706934016 `" && echo ansible-tmp-1588845722.9126532-102967706934016="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845722.9126532-102967706934016 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/utilities/logic/async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-278979xw3rm1i/tmp7iksqp3f TO /home/nls/.ansible/tmp/ansible-tmp-1588845722.9126532-102967706934016/AnsiballZ_async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845722.9126532-102967706934016/ /home/nls/.ansible/tmp/ansible-tmp-1588845722.9126532-102967706934016/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '/home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845722.9126532-102967706934016/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/nls/.ansible/tmp/ansible-tmp-1588845722.9126532-102967706934016/ > /dev/null 2>&1 && sleep 0'[0m | |
[0;34m[0m[1;30mFAILED - RETRYING: Wait for instance(s) creation to complete (300 retries left).Result was: {[0m | |
[1;30m "attempts": 1,[0m | |
[1;30m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[1;30m "changed": false,[0m | |
[1;30m "retries": 301[0m | |
[1;30m}[0m | |
[1;30m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845728.174888-213056325321536 `" && echo ansible-tmp-1588845728.174888-213056325321536="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845728.174888-213056325321536 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/utilities/logic/async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-278979xw3rm1i/tmpwtsad_3q TO /home/nls/.ansible/tmp/ansible-tmp-1588845728.174888-213056325321536/AnsiballZ_async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845728.174888-213056325321536/ /home/nls/.ansible/tmp/ansible-tmp-1588845728.174888-213056325321536/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '/home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845728.174888-213056325321536/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/nls/.ansible/tmp/ansible-tmp-1588845728.174888-213056325321536/ > /dev/null 2>&1 && sleep 0'[0m | |
[0;34m[0m[0;33mchanged: [localhost] => (item=None) => {[0m | |
[0;33m "attempts": 2,[0m | |
[0;33m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;33m "changed": true[0m | |
[0;33m}[0m | |
[0;33m[0m[0;33mchanged: [localhost] => {[0m | |
[0;33m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;33m "changed": true[0m | |
[0;33m}[0m | |
[0;33m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
PLAY RECAP ********************************************************************* | |
[0;33mlocalhost[0m : [0;32mok=5 [0m [0;33mchanged=2 [0m unreachable=0 failed=0 [0;36mskipped=4 [0m rescued=0 ignored=0 | |
--> Scenario: 'default' | |
--> Action: 'converge' | |
DEBUG: ANSIBLE ENVIRONMENT | |
--- | |
ANSIBLE_COLLECTIONS_PATHS: /home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections | |
ANSIBLE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg | |
ANSIBLE_FILTER_PLUGINS: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter | |
ANSIBLE_LIBRARY: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules | |
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3 | |
ANSIBLE_ROLES_PATH: /home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles | |
DEBUG: MOLECULE ENVIRONMENT | |
--- | |
MOLECULE_DEBUG: 'True' | |
MOLECULE_DEPENDENCY_NAME: galaxy | |
MOLECULE_DRIVER_NAME: docker | |
MOLECULE_ENV_FILE: /home/nls/devel/ansible-role-bb-consul/.env.yml | |
MOLECULE_EPHEMERAL_DIRECTORY: /home/nls/.cache/molecule/ansible-role-bb-consul/default | |
MOLECULE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml | |
MOLECULE_INSTANCE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml | |
MOLECULE_INVENTORY_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml | |
MOLECULE_PROJECT_DIRECTORY: /home/nls/devel/ansible-role-bb-consul | |
MOLECULE_PROVISIONER_NAME: ansible | |
MOLECULE_SCENARIO_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default | |
MOLECULE_SCENARIO_NAME: default | |
MOLECULE_STATE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml | |
MOLECULE_VERIFIER_NAME: ansible | |
MOLECULE_VERIFIER_TEST_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: SHELL REPLAY | |
ANSIBLE_COLLECTIONS_PATHS=/home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections ANSIBLE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg ANSIBLE_FILTER_PLUGINS=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter ANSIBLE_LIBRARY=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 ANSIBLE_ROLES_PATH=/home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/home/nls/devel/ansible-role-bb-consul/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/home/nls/.cache/molecule/ansible-role-bb-consul/default MOLECULE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml MOLECULE_INVENTORY_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml MOLECULE_PROJECT_DIRECTORY=/home/nls/devel/ansible-role-bb-consul MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_STATE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml MOLECULE_VERIFIER_NAME=ansible MOLECULE_VERIFIER_TEST_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: COMMAND | |
/home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook --skip-tags=molecule-notest,notest --diff --inventory=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory /home/nls/devel/ansible-role-bb-consul/molecule/shared/converge.yml -vvv | |
[0;34mansible-playbook 2.9.6[0m | |
[0;34m config file = /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg[0m | |
[0;34m configured module search path = ['/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules', '/home/nls/.cache/molecule/ansible-role-bb-consul/default/library', '/home/nls/devel/ansible-role-bb-consul/library', '/home/nls/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'][0m | |
[0;34m ansible python module location = /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible[0m | |
[0;34m executable location = /home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook[0m | |
[0;34m python version = 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0][0m | |
[0;34m[0m[0;34mUsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg as config file[0m | |
[0;34m[0m[0;34mhost_list declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mscript declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mParsed /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml inventory source with yaml plugin[0m | |
[0;34m[0m[0;34mstatically imported: /home/nls/devel/ansible-role-bb-consul/tasks/create-user.yml[0m | |
[0;34m[0m[0;34mstatically imported: /home/nls/devel/ansible-role-bb-consul/tasks/install-binary.yml[0m | |
[0;34m[0m[0;34mstatically imported: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml[0m | |
[0;34m[0m | |
PLAYBOOK: converge.yml ********************************************************* | |
[0;34m1 plays in /home/nls/devel/ansible-role-bb-consul/molecule/shared/converge.yml[0m | |
[0;34m[0m | |
PLAY [Converge] **************************************************************** | |
TASK [Gathering Facts] ********************************************************* | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/molecule/shared/converge.yml:2[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845730.0200183-143635297538335 `" && echo ansible-tmp-1588845730.0200183-143635297538335="` echo /root/.ansible/tmp/ansible-tmp-1588845730.0200183-143635297538335 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/system/setup.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpxxve20v_ TO /root/.ansible/tmp/ansible-tmp-1588845730.0200183-143635297538335/AnsiballZ_setup.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845730.0200183-143635297538335/ /root/.ansible/tmp/ansible-tmp-1588845730.0200183-143635297538335/AnsiballZ_setup.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845730.0200183-143635297538335/AnsiballZ_setup.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845730.0200183-143635297538335/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;32mok: [consul-agent][0m | |
[0;32m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
TASK [ansible-role-bb-consul : Create Consul group] **************************** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-user.yml:2[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845731.5332751-267766822825295 `" && echo ansible-tmp-1588845731.5332751-267766822825295="` echo /root/.ansible/tmp/ansible-tmp-1588845731.5332751-267766822825295 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/system/group.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp5297s4vy TO /root/.ansible/tmp/ansible-tmp-1588845731.5332751-267766822825295/AnsiballZ_group.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845731.5332751-267766822825295/ /root/.ansible/tmp/ansible-tmp-1588845731.5332751-267766822825295/AnsiballZ_group.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845731.5332751-267766822825295/AnsiballZ_group.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845731.5332751-267766822825295/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "gid": 1000,[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "gid": null,[0m | |
[0;33m "local": false,[0m | |
[0;33m "name": "consul",[0m | |
[0;33m "non_unique": false,[0m | |
[0;33m "state": "present",[0m | |
[0;33m "system": false[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "name": "consul",[0m | |
[0;33m "state": "present",[0m | |
[0;33m "system": false[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Create Consul user] ***************************** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-user.yml:7[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845732.6866255-180362427294347 `" && echo ansible-tmp-1588845732.6866255-180362427294347="` echo /root/.ansible/tmp/ansible-tmp-1588845732.6866255-180362427294347 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/system/user.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpc1uav3_4 TO /root/.ansible/tmp/ansible-tmp-1588845732.6866255-180362427294347/AnsiballZ_user.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845732.6866255-180362427294347/ /root/.ansible/tmp/ansible-tmp-1588845732.6866255-180362427294347/AnsiballZ_user.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845732.6866255-180362427294347/AnsiballZ_user.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845732.6866255-180362427294347/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "comment": "",[0m | |
[0;33m "create_home": true,[0m | |
[0;33m "group": 1000,[0m | |
[0;33m "home": "/opt/consul",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "append": false,[0m | |
[0;33m "authorization": null,[0m | |
[0;33m "comment": null,[0m | |
[0;33m "create_home": true,[0m | |
[0;33m "expires": null,[0m | |
[0;33m "force": false,[0m | |
[0;33m "generate_ssh_key": null,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "groups": null,[0m | |
[0;33m "hidden": null,[0m | |
[0;33m "home": "/opt/consul",[0m | |
[0;33m "local": null,[0m | |
[0;33m "login_class": null,[0m | |
[0;33m "move_home": false,[0m | |
[0;33m "name": "consul",[0m | |
[0;33m "non_unique": false,[0m | |
[0;33m "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",[0m | |
[0;33m "password_lock": null,[0m | |
[0;33m "profile": null,[0m | |
[0;33m "remove": false,[0m | |
[0;33m "role": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "shell": "/bin/false",[0m | |
[0;33m "skeleton": null,[0m | |
[0;33m "ssh_key_bits": 0,[0m | |
[0;33m "ssh_key_comment": "ansible-generated on consul-agent",[0m | |
[0;33m "ssh_key_file": null,[0m | |
[0;33m "ssh_key_passphrase": null,[0m | |
[0;33m "ssh_key_type": "rsa",[0m | |
[0;33m "state": "present",[0m | |
[0;33m "system": true,[0m | |
[0;33m "uid": null,[0m | |
[0;33m "update_password": "always"[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "name": "consul",[0m | |
[0;33m "password": "NOT_LOGGING_PASSWORD",[0m | |
[0;33m "shell": "/bin/false",[0m | |
[0;33m "state": "present",[0m | |
[0;33m "system": true,[0m | |
[0;33m "uid": 999[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Create consul data directory] ******************* | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/main.yml:6[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845733.9120347-169047357328835 `" && echo ansible-tmp-1588845733.9120347-169047357328835="` echo /root/.ansible/tmp/ansible-tmp-1588845733.9120347-169047357328835 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/file.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp2u1lvqhq TO /root/.ansible/tmp/ansible-tmp-1588845733.9120347-169047357328835/AnsiballZ_file.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845733.9120347-169047357328835/ /root/.ansible/tmp/ansible-tmp-1588845733.9120347-169047357328835/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845733.9120347-169047357328835/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845733.9120347-169047357328835/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;31m--- before[0m | |
[0;31m[0m[0;32m+++ after[0m | |
[0;32m[0m[0;36m@@ -1,4 +1,4 @@[0m | |
[0;36m[0m { | |
[0;31m- "mode": "0755",[0m | |
[0;31m[0m[0;32m+ "mode": "0600",[0m | |
[0;32m[0m "path": "/opt/consul" | |
} | |
[0;33mchanged: [consul-agent] => (item=/opt/consul) => {[0m | |
[0;33m "ansible_loop_var": "item",[0m | |
[0;33m "changed": true,[0m | |
[0;33m "diff": {[0m | |
[0;33m "after": {[0m | |
[0;33m "mode": "0600",[0m | |
[0;33m "path": "/opt/consul"[0m | |
[0;33m },[0m | |
[0;33m "before": {[0m | |
[0;33m "mode": "0755",[0m | |
[0;33m "path": "/opt/consul"[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "gid": 1000,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_diff_peek": null,[0m | |
[0;33m "_original_basename": null,[0m | |
[0;33m "access_time": null,[0m | |
[0;33m "access_time_format": "%Y%m%d%H%M.%S",[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": null,[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": true,[0m | |
[0;33m "force": false,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "mode": 384,[0m | |
[0;33m "modification_time": null,[0m | |
[0;33m "modification_time_format": "%Y%m%d%H%M.%S",[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "path": "/opt/consul",[0m | |
[0;33m "recurse": true,[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": null,[0m | |
[0;33m "state": "directory",[0m | |
[0;33m "unsafe_writes": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "item": "/opt/consul",[0m | |
[0;33m "mode": "0600",[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "path": "/opt/consul",[0m | |
[0;33m "size": 4096,[0m | |
[0;33m "state": "directory",[0m | |
[0;33m "uid": 999[0m | |
[0;33m}[0m | |
[0;33m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845734.7200341-26312937540909 `" && echo ansible-tmp-1588845734.7200341-26312937540909="` echo /root/.ansible/tmp/ansible-tmp-1588845734.7200341-26312937540909 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/file.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpcd6u_t7b TO /root/.ansible/tmp/ansible-tmp-1588845734.7200341-26312937540909/AnsiballZ_file.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845734.7200341-26312937540909/ /root/.ansible/tmp/ansible-tmp-1588845734.7200341-26312937540909/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845734.7200341-26312937540909/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845734.7200341-26312937540909/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;31m--- before[0m | |
[0;31m[0m[0;32m+++ after[0m | |
[0;32m[0m[0;36m@@ -1,7 +1,7 @@[0m | |
[0;36m[0m { | |
[0;31m- "group": 0,[0m | |
[0;31m[0m[0;31m- "mode": "0755",[0m | |
[0;31m[0m[0;31m- "owner": 0,[0m | |
[0;31m[0m[0;32m+ "group": 1000,[0m | |
[0;32m[0m[0;32m+ "mode": "0600",[0m | |
[0;32m[0m[0;32m+ "owner": 999,[0m | |
[0;32m[0m "path": "/etc/consul.d", | |
[0;31m- "state": "absent"[0m | |
[0;31m[0m[0;32m+ "state": "directory"[0m | |
[0;32m[0m } | |
[0;33mchanged: [consul-agent] => (item=/etc/consul.d) => {[0m | |
[0;33m "ansible_loop_var": "item",[0m | |
[0;33m "changed": true,[0m | |
[0;33m "diff": {[0m | |
[0;33m "after": {[0m | |
[0;33m "group": 1000,[0m | |
[0;33m "mode": "0600",[0m | |
[0;33m "owner": 999,[0m | |
[0;33m "path": "/etc/consul.d",[0m | |
[0;33m "state": "directory"[0m | |
[0;33m },[0m | |
[0;33m "before": {[0m | |
[0;33m "group": 0,[0m | |
[0;33m "mode": "0755",[0m | |
[0;33m "owner": 0,[0m | |
[0;33m "path": "/etc/consul.d",[0m | |
[0;33m "state": "absent"[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "gid": 1000,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_diff_peek": null,[0m | |
[0;33m "_original_basename": null,[0m | |
[0;33m "access_time": null,[0m | |
[0;33m "access_time_format": "%Y%m%d%H%M.%S",[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": null,[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": true,[0m | |
[0;33m "force": false,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "mode": 384,[0m | |
[0;33m "modification_time": null,[0m | |
[0;33m "modification_time_format": "%Y%m%d%H%M.%S",[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "path": "/etc/consul.d",[0m | |
[0;33m "recurse": true,[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": null,[0m | |
[0;33m "state": "directory",[0m | |
[0;33m "unsafe_writes": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "item": "/etc/consul.d",[0m | |
[0;33m "mode": "0600",[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "path": "/etc/consul.d",[0m | |
[0;33m "size": 4096,[0m | |
[0;33m "state": "directory",[0m | |
[0;33m "uid": 999[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Ensure unzip is installed] ********************** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/install-binary.yml:2[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845735.522322-116795771381017 `" && echo ansible-tmp-1588845735.522322-116795771381017="` echo /root/.ansible/tmp/ansible-tmp-1588845735.522322-116795771381017 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/packaging/os/apt.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp7lbqgcdc TO /root/.ansible/tmp/ansible-tmp-1588845735.522322-116795771381017/AnsiballZ_apt.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845735.522322-116795771381017/ /root/.ansible/tmp/ansible-tmp-1588845735.522322-116795771381017/AnsiballZ_apt.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845735.522322-116795771381017/AnsiballZ_apt.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845735.522322-116795771381017/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0mSuggested packages: | |
zip | |
The following NEW packages will be installed: | |
unzip | |
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded. | |
[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "cache_update_time": 1588845740,[0m | |
[0;33m "cache_updated": true,[0m | |
[0;33m "changed": true,[0m | |
[0;33m "diff": {[0m | |
[0;33m "prepared": "Suggested packages:\n zip\nThe following NEW packages will be installed:\n unzip\n0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded."[0m | |
[0;33m },[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "allow_unauthenticated": false,[0m | |
[0;33m "autoclean": false,[0m | |
[0;33m "autoremove": false,[0m | |
[0;33m "cache_valid_time": 0,[0m | |
[0;33m "deb": null,[0m | |
[0;33m "default_release": null,[0m | |
[0;33m "dpkg_options": "force-confdef,force-confold",[0m | |
[0;33m "force": false,[0m | |
[0;33m "force_apt_get": false,[0m | |
[0;33m "install_recommends": null,[0m | |
[0;33m "name": "unzip",[0m | |
[0;33m "only_upgrade": false,[0m | |
[0;33m "package": [[0m | |
[0;33m "unzip"[0m | |
[0;33m ],[0m | |
[0;33m "policy_rc_d": null,[0m | |
[0;33m "purge": false,[0m | |
[0;33m "state": "present",[0m | |
[0;33m "update_cache": true,[0m | |
[0;33m "upgrade": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "stderr": "",[0m | |
[0;33m "stderr_lines": [],[0m | |
[0;33m "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n zip\nThe following NEW packages will be installed:\n unzip\n0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.\nNeed to get 167 kB of archives.\nAfter this operation, 558 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 unzip amd64 6.0-21ubuntu1 [167 kB]\nFetched 167 kB in 0s (488 kB/s)\nSelecting previously unselected package unzip.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 9014 files and directories currently installed.)\r\nPreparing to unpack .../unzip_6.0-21ubuntu1_amd64.deb ...\r\nUnpacking unzip (6.0-21ubuntu1) ...\r\nSetting up unzip (6.0-21ubuntu1) ...\r\nProcessing triggers for mime-support (3.60ubuntu1) ...\r\n",[0m | |
[0;33m "stdout_lines": [[0m | |
[0;33m "Reading package lists...",[0m | |
[0;33m "Building dependency tree...",[0m | |
[0;33m "Reading state information...",[0m | |
[0;33m "Suggested packages:",[0m | |
[0;33m " zip",[0m | |
[0;33m "The following NEW packages will be installed:",[0m | |
[0;33m " unzip",[0m | |
[0;33m "0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.",[0m | |
[0;33m "Need to get 167 kB of archives.",[0m | |
[0;33m "After this operation, 558 kB of additional disk space will be used.",[0m | |
[0;33m "Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 unzip amd64 6.0-21ubuntu1 [167 kB]",[0m | |
[0;33m "Fetched 167 kB in 0s (488 kB/s)",[0m | |
[0;33m "Selecting previously unselected package unzip.",[0m | |
[0;33m "(Reading database ... ",[0m | |
[0;33m "(Reading database ... 5%",[0m | |
[0;33m "(Reading database ... 10%",[0m | |
[0;33m "(Reading database ... 15%",[0m | |
[0;33m "(Reading database ... 20%",[0m | |
[0;33m "(Reading database ... 25%",[0m | |
[0;33m "(Reading database ... 30%",[0m | |
[0;33m "(Reading database ... 35%",[0m | |
[0;33m "(Reading database ... 40%",[0m | |
[0;33m "(Reading database ... 45%",[0m | |
[0;33m "(Reading database ... 50%",[0m | |
[0;33m "(Reading database ... 55%",[0m | |
[0;33m "(Reading database ... 60%",[0m | |
[0;33m "(Reading database ... 65%",[0m | |
[0;33m "(Reading database ... 70%",[0m | |
[0;33m "(Reading database ... 75%",[0m | |
[0;33m "(Reading database ... 80%",[0m | |
[0;33m "(Reading database ... 85%",[0m | |
[0;33m "(Reading database ... 90%",[0m | |
[0;33m "(Reading database ... 95%",[0m | |
[0;33m "(Reading database ... 100%",[0m | |
[0;33m "(Reading database ... 9014 files and directories currently installed.)",[0m | |
[0;33m "Preparing to unpack .../unzip_6.0-21ubuntu1_amd64.deb ...",[0m | |
[0;33m "Unpacking unzip (6.0-21ubuntu1) ...",[0m | |
[0;33m "Setting up unzip (6.0-21ubuntu1) ...",[0m | |
[0;33m "Processing triggers for mime-support (3.60ubuntu1) ..."[0m | |
[0;33m ][0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Download archive] ******************************* | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/install-binary.yml:8[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975 `" && echo ansible-tmp-1588845747.4962397-83788411743975="` echo /root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/net_tools/basics/get_url.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpwiyviu02 TO /root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975/AnsiballZ_get_url.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975/ /root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975/AnsiballZ_get_url.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975/AnsiballZ_get_url.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "checksum_dest": null,[0m | |
[0;33m "checksum_src": "8cc40d21bb89192f9f1b7b11faf5bff4a5d0dd57",[0m | |
[0;33m "dest": "/tmp/consul.zip",[0m | |
[0;33m "elapsed": 10,[0m | |
[0;33m "gid": 0,[0m | |
[0;33m "group": "root",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": null,[0m | |
[0;33m "checksum": "",[0m | |
[0;33m "client_cert": null,[0m | |
[0;33m "client_key": null,[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "dest": "/tmp/consul.zip",[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": false,[0m | |
[0;33m "force": false,[0m | |
[0;33m "force_basic_auth": false,[0m | |
[0;33m "group": null,[0m | |
[0;33m "headers": null,[0m | |
[0;33m "http_agent": "ansible-httpget",[0m | |
[0;33m "mode": null,[0m | |
[0;33m "owner": null,[0m | |
[0;33m "path": "/tmp/consul.zip",[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "sha256sum": "",[0m | |
[0;33m "src": null,[0m | |
[0;33m "timeout": 10,[0m | |
[0;33m "tmp_dest": null,[0m | |
[0;33m "unsafe_writes": null,[0m | |
[0;33m "url": "https://releases.hashicorp.com/consul/1.7.2/consul_1.7.2_linux_amd64.zip",[0m | |
[0;33m "url_password": null,[0m | |
[0;33m "url_username": null,[0m | |
[0;33m "use_proxy": true,[0m | |
[0;33m "validate_certs": true[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "md5sum": "d5dcbeb5b9a744b51a74b5104d60f5b8",[0m | |
[0;33m "mode": "0644",[0m | |
[0;33m "msg": "OK (39650427 bytes)",[0m | |
[0;33m "owner": "root",[0m | |
[0;33m "size": 39650427,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845747.4962397-83788411743975/tmpu9o3jdv9",[0m | |
[0;33m "state": "file",[0m | |
[0;33m "status_code": 200,[0m | |
[0;33m "uid": 0,[0m | |
[0;33m "url": "https://releases.hashicorp.com/consul/1.7.2/consul_1.7.2_linux_amd64.zip"[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Unpack archive] ********************************* | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/install-binary.yml:13[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145 `" && echo ansible-tmp-1588845759.7974527-141137540062145="` echo /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp2rgv7cug TO /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/AnsiballZ_stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/ /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/unarchive.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpfmw8uvgk TO /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/AnsiballZ_unarchive.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/ /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/AnsiballZ_unarchive.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/AnsiballZ_unarchive.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845759.7974527-141137540062145/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m>f++++++.?? consul | |
[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "dest": "/usr/local/bin",[0m | |
[0;33m "diff": {[0m | |
[0;33m "prepared": ">f++++++.?? consul\n"[0m | |
[0;33m },[0m | |
[0;33m "extract_results": {[0m | |
[0;33m "cmd": [[0m | |
[0;33m "/usr/bin/unzip",[0m | |
[0;33m "-o",[0m | |
[0;33m "/tmp/consul.zip",[0m | |
[0;33m "-d",[0m | |
[0;33m "/usr/local/bin"[0m | |
[0;33m ],[0m | |
[0;33m "err": "",[0m | |
[0;33m "out": "Archive: /tmp/consul.zip\n inflating: /usr/local/bin/consul \n",[0m | |
[0;33m "rc": 0[0m | |
[0;33m },[0m | |
[0;33m "gid": 0,[0m | |
[0;33m "group": "root",[0m | |
[0;33m "handler": "ZipArchive",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": null,[0m | |
[0;33m "content": null,[0m | |
[0;33m "creates": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "dest": "/usr/local/bin",[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "exclude": [],[0m | |
[0;33m "extra_opts": [],[0m | |
[0;33m "follow": false,[0m | |
[0;33m "force": null,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "keep_newer": false,[0m | |
[0;33m "list_files": false,[0m | |
[0;33m "mode": 424,[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": true,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": "/tmp/consul.zip",[0m | |
[0;33m "unsafe_writes": null,[0m | |
[0;33m "validate_certs": true[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "mode": "0755",[0m | |
[0;33m "owner": "root",[0m | |
[0;33m "size": 4096,[0m | |
[0;33m "src": "/tmp/consul.zip",[0m | |
[0;33m "state": "directory",[0m | |
[0;33m "uid": 0[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Remove archive] ********************************* | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/install-binary.yml:22[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845762.0351517-163668663369349 `" && echo ansible-tmp-1588845762.0351517-163668663369349="` echo /root/.ansible/tmp/ansible-tmp-1588845762.0351517-163668663369349 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/file.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmprxbjvgl_ TO /root/.ansible/tmp/ansible-tmp-1588845762.0351517-163668663369349/AnsiballZ_file.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845762.0351517-163668663369349/ /root/.ansible/tmp/ansible-tmp-1588845762.0351517-163668663369349/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845762.0351517-163668663369349/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845762.0351517-163668663369349/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;31m--- before[0m | |
[0;31m[0m[0;32m+++ after[0m | |
[0;32m[0m[0;36m@@ -1,4 +1,4 @@[0m | |
[0;36m[0m { | |
"path": "/tmp/consul.zip", | |
[0;31m- "state": "file"[0m | |
[0;31m[0m[0;32m+ "state": "absent"[0m | |
[0;32m[0m } | |
[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "diff": {[0m | |
[0;33m "after": {[0m | |
[0;33m "path": "/tmp/consul.zip",[0m | |
[0;33m "state": "absent"[0m | |
[0;33m },[0m | |
[0;33m "before": {[0m | |
[0;33m "path": "/tmp/consul.zip",[0m | |
[0;33m "state": "file"[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_diff_peek": null,[0m | |
[0;33m "_original_basename": null,[0m | |
[0;33m "access_time": null,[0m | |
[0;33m "access_time_format": "%Y%m%d%H%M.%S",[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": null,[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": true,[0m | |
[0;33m "force": false,[0m | |
[0;33m "group": null,[0m | |
[0;33m "mode": null,[0m | |
[0;33m "modification_time": null,[0m | |
[0;33m "modification_time_format": "%Y%m%d%H%M.%S",[0m | |
[0;33m "owner": null,[0m | |
[0;33m "path": "/tmp/consul.zip",[0m | |
[0;33m "recurse": false,[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": null,[0m | |
[0;33m "state": "absent",[0m | |
[0;33m "unsafe_writes": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "path": "/tmp/consul.zip",[0m | |
[0;33m "state": "absent"[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Install Systemd Service] ************************ | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/main.yml:22[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886 `" && echo ansible-tmp-1588845762.9721136-29318698202886="` echo /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp9fpore5k TO /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/ /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/file.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpn07q03z2 TO /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_file.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/ /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp271iebas/client.service.j2 TO /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/source[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/ /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/source && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp090zwbrt TO /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/ /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;31m--- before[0m | |
[0;31m[0m[0;32m+++ after: /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp271iebas/client.service.j2[0m | |
[0;32m[0m[0;36m@@ -0,0 +1,21 @@[0m | |
[0;36m[0m[0;32m+[Unit][0m | |
[0;32m[0m[0;32m+Description=Consul client agent[0m | |
[0;32m[0m[0;32m+Requires=network-online.target[0m | |
[0;32m[0m[0;32m+After=network-online.target[0m | |
[0;32m[0m[0;32m+[0m | |
[0;32m[0m[0;32m+[Service][0m | |
[0;32m[0m[0;32m+User=consul[0m | |
[0;32m[0m[0;32m+Group=consul[0m | |
[0;32m[0m[0;32m+PIDFile=/var/run/consul/consul.pid[0m | |
[0;32m[0m[0;32m+PermissionsStartOnly=true[0m | |
[0;32m[0m[0;32m+ExecStartPre=-/bin/mkdir -p /var/run/consul[0m | |
[0;32m[0m[0;32m+ExecStartPre=/bin/chown -R consul:consul /var/run/consul[0m | |
[0;32m[0m[0;32m+ExecStart=/usr/local/bin/consul agent -config-file=/etc/consul.d/consul.json -pid-file=/var/run/consul/consul.pid[0m | |
[0;32m[0m[0;32m+ExecReload=/bin/kill -HUP $MAINPID[0m | |
[0;32m[0m[0;32m+KillMode=process[0m | |
[0;32m[0m[0;32m+KillSignal=SIGTERM[0m | |
[0;32m[0m[0;32m+Restart=on-failure[0m | |
[0;32m[0m[0;32m+RestartSec=42s[0m | |
[0;32m[0m[0;32m+[0m | |
[0;32m[0m[0;32m+[Install][0m | |
[0;32m[0m[0;32m+WantedBy=multi-user.target[0m | |
[0;32m\ No newline at end of file[0m | |
[0;32m[0m | |
[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "checksum": "4c17663f184e126c1f48ad0dc9c2512b30dfedb3",[0m | |
[0;33m "dest": "/etc/systemd/system/consul.service",[0m | |
[0;33m "diff": [[0m | |
[0;33m {[0m | |
[0;33m "after": "[Unit]\nDescription=Consul client agent\nRequires=network-online.target\nAfter=network-online.target\n\n[Service]\nUser=consul\nGroup=consul\nPIDFile=/var/run/consul/consul.pid\nPermissionsStartOnly=true\nExecStartPre=-/bin/mkdir -p /var/run/consul\nExecStartPre=/bin/chown -R consul:consul /var/run/consul\nExecStart=/usr/local/bin/consul agent -config-file=/etc/consul.d/consul.json -pid-file=/var/run/consul/consul.pid\nExecReload=/bin/kill -HUP $MAINPID\nKillMode=process\nKillSignal=SIGTERM\nRestart=on-failure\nRestartSec=42s\n\n[Install]\nWantedBy=multi-user.target",[0m | |
[0;33m "after_header": "/home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp271iebas/client.service.j2",[0m | |
[0;33m "before": ""[0m | |
[0;33m }[0m | |
[0;33m ],[0m | |
[0;33m "gid": 0,[0m | |
[0;33m "group": "root",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_original_basename": "client.service.j2",[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": false,[0m | |
[0;33m "checksum": "4c17663f184e126c1f48ad0dc9c2512b30dfedb3",[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "dest": "/etc/systemd/system/consul.service",[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": false,[0m | |
[0;33m "force": true,[0m | |
[0;33m "group": null,[0m | |
[0;33m "local_follow": null,[0m | |
[0;33m "mode": null,[0m | |
[0;33m "owner": null,[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/source",[0m | |
[0;33m "unsafe_writes": null,[0m | |
[0;33m "validate": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "md5sum": "ba907d383f5f0162dd5e1274a505caff",[0m | |
[0;33m "mode": "0644",[0m | |
[0;33m "owner": "root",[0m | |
[0;33m "size": 552,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845762.9721136-29318698202886/source",[0m | |
[0;33m "state": "file",[0m | |
[0;33m "uid": 0[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Load role-independent default config] *********** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:2[0m | |
[1;30m[0m[0;32mok: [consul-agent] => {[0m | |
[0;32m "ansible_facts": {[0m | |
[0;32m "consul_generic_config": {[0m | |
[0;32m "acl": {[0m | |
[0;32m "default_policy": "deny",[0m | |
[0;32m "enable_token_persistence": true,[0m | |
[0;32m "enabled": true[0m | |
[0;32m },[0m | |
[0;32m "bootstrap-expect": "{{ consul_cluster_addresses|length }}",[0m | |
[0;32m "ca_file": "consul-agent-ca.pem",[0m | |
[0;32m "config-dir": "{{ consul_config_dir }}",[0m | |
[0;32m "datadir": "{{ consul_data_dir }}",[0m | |
[0;32m "enable_syslog": true,[0m | |
[0;32m "log_level": "INFO",[0m | |
[0;32m "retry_join": "{{ consul_cluster_addresses | difference([consul_server_address]) }}",[0m | |
[0;32m "verify_outgoing": true,[0m | |
[0;32m "verify_server_hostname": true[0m | |
[0;32m }[0m | |
[0;32m },[0m | |
[0;32m "ansible_included_var_files": [[0m | |
[0;32m "/home/nls/devel/ansible-role-bb-consul/vars/config-defaults/generic.yml"[0m | |
[0;32m ],[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [ansible-role-bb-consul : Load role-dependent default config] ************* | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:5[0m | |
[1;30m[0m[0;32mok: [consul-agent] => {[0m | |
[0;32m "ansible_facts": {[0m | |
[0;32m "consul_agent_defaults": {[0m | |
[0;32m "auto_encrypt": {[0m | |
[0;32m "tls": true[0m | |
[0;32m },[0m | |
[0;32m "verify_incoming": false[0m | |
[0;32m }[0m | |
[0;32m },[0m | |
[0;32m "ansible_included_var_files": [[0m | |
[0;32m "/home/nls/devel/ansible-role-bb-consul/vars/config-defaults/client.yml"[0m | |
[0;32m ],[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [ansible-role-bb-consul : Load default ACL configuration] ***************** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:8[0m | |
[1;30m[0m[0;32mok: [consul-agent] => {[0m | |
[0;32m "ansible_facts": {[0m | |
[0;32m "consul_acl_defaults": {[0m | |
[0;32m "acl": {[0m | |
[0;32m "default_policy": "deny",[0m | |
[0;32m "enable_token_persistence": true,[0m | |
[0;32m "enabled": true[0m | |
[0;32m }[0m | |
[0;32m }[0m | |
[0;32m },[0m | |
[0;32m "ansible_included_var_files": [[0m | |
[0;32m "/home/nls/devel/ansible-role-bb-consul/vars/config-defaults/acl.yml"[0m | |
[0;32m ],[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [ansible-role-bb-consul : Create Default Consul Agent Configuration] ****** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:11[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780 `" && echo ansible-tmp-1588845765.57816-127095031318780="` echo /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmphrw8q4cu TO /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/ /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/file.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmphw39cnme TO /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_file.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/ /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpua1eecty TO /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/source[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/ /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/source && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp18oo3v8j TO /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/ /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;31m--- before[0m | |
[0;31m[0m[0;32m+++ after: /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpua1eecty[0m | |
[0;32m[0m[0;36m@@ -0,0 +1 @@[0m | |
[0;36m[0m[0;32m+{"datadir": "/opt/consul", "config-dir": "/etc/consul.d", "bootstrap-expect": "1", "retry_join": [], "verify_outgoing": true, "verify_server_hostname": true, "ca_file": "consul-agent-ca.pem", "enable_syslog": true, "log_level": "INFO", "acl": {"enabled": true, "default_policy": "deny", "enable_token_persistence": true}, "verify_incoming": false, "auto_encrypt": {"tls": true}}[0m | |
[0;32m\ No newline at end of file[0m | |
[0;32m[0m | |
[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "checksum": "3f3428e27bac07469a93dc1bc528ed5a1297ab37",[0m | |
[0;33m "dest": "/etc/consul.d/1_defaults.json",[0m | |
[0;33m "diff": [[0m | |
[0;33m {[0m | |
[0;33m "after": "{\"datadir\": \"/opt/consul\", \"config-dir\": \"/etc/consul.d\", \"bootstrap-expect\": \"1\", \"retry_join\": [], \"verify_outgoing\": true, \"verify_server_hostname\": true, \"ca_file\": \"consul-agent-ca.pem\", \"enable_syslog\": true, \"log_level\": \"INFO\", \"acl\": {\"enabled\": true, \"default_policy\": \"deny\", \"enable_token_persistence\": true}, \"verify_incoming\": false, \"auto_encrypt\": {\"tls\": true}}",[0m | |
[0;33m "after_header": "/home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpua1eecty",[0m | |
[0;33m "before": ""[0m | |
[0;33m }[0m | |
[0;33m ],[0m | |
[0;33m "gid": 1000,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_original_basename": "tmpua1eecty",[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": false,[0m | |
[0;33m "checksum": "3f3428e27bac07469a93dc1bc528ed5a1297ab37",[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "dest": "/etc/consul.d/1_defaults.json",[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": false,[0m | |
[0;33m "force": true,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "local_follow": null,[0m | |
[0;33m "mode": 416,[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/source",[0m | |
[0;33m "unsafe_writes": null,[0m | |
[0;33m "validate": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "md5sum": "ef21eb4258ebb08909411b32921456e8",[0m | |
[0;33m "mode": "0640",[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "size": 378,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845765.57816-127095031318780/source",[0m | |
[0;33m "state": "file",[0m | |
[0;33m "uid": 999[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Create Custom Consul Agent Configuration] ******* | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:19[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300 `" && echo ansible-tmp-1588845767.44247-121660368039300="` echo /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmptx30octe TO /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/ /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/file.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpljl47o0e TO /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_file.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/ /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp7ozoul6j TO /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/source[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/ /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/source && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpub5f7no8 TO /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/ /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;31m--- before[0m | |
[0;31m[0m[0;32m+++ after: /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp7ozoul6j[0m | |
[0;32m[0m[0;36m@@ -0,0 +1 @@[0m | |
[0;36m[0m[0;32m+{}[0m | |
[0;32m\ No newline at end of file[0m | |
[0;32m[0m | |
[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "checksum": "bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f",[0m | |
[0;33m "dest": "/etc/consul.d/2_config.json",[0m | |
[0;33m "diff": [[0m | |
[0;33m {[0m | |
[0;33m "after": "{}",[0m | |
[0;33m "after_header": "/home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp7ozoul6j",[0m | |
[0;33m "before": ""[0m | |
[0;33m }[0m | |
[0;33m ],[0m | |
[0;33m "gid": 1000,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_original_basename": "tmp7ozoul6j",[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": false,[0m | |
[0;33m "checksum": "bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f",[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "dest": "/etc/consul.d/2_config.json",[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": false,[0m | |
[0;33m "force": true,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "local_follow": null,[0m | |
[0;33m "mode": 416,[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/source",[0m | |
[0;33m "unsafe_writes": null,[0m | |
[0;33m "validate": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "md5sum": "99914b932bd37a50b983c5e7c90ae93b",[0m | |
[0;33m "mode": "0640",[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "size": 2,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845767.44247-121660368039300/source",[0m | |
[0;33m "state": "file",[0m | |
[0;33m "uid": 999[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Generate Whisper Key] *************************** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:29[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845769.27818-205561331132328 `" && echo ansible-tmp-1588845769.27818-205561331132328="` echo /root/.ansible/tmp/ansible-tmp-1588845769.27818-205561331132328 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/commands/command.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpd1lt4rql TO /root/.ansible/tmp/ansible-tmp-1588845769.27818-205561331132328/AnsiballZ_command.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845769.27818-205561331132328/ /root/.ansible/tmp/ansible-tmp-1588845769.27818-205561331132328/AnsiballZ_command.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845769.27818-205561331132328/AnsiballZ_command.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845769.27818-205561331132328/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "cmd": [[0m | |
[0;33m "/usr/local/bin/consul",[0m | |
[0;33m "keygen"[0m | |
[0;33m ],[0m | |
[0;33m "delta": "0:00:00.033137",[0m | |
[0;33m "end": "2020-05-07 10:02:49.958071",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_raw_params": "/usr/local/bin/consul keygen",[0m | |
[0;33m "_uses_shell": false,[0m | |
[0;33m "argv": null,[0m | |
[0;33m "chdir": null,[0m | |
[0;33m "creates": null,[0m | |
[0;33m "executable": null,[0m | |
[0;33m "removes": null,[0m | |
[0;33m "stdin": null,[0m | |
[0;33m "stdin_add_newline": true,[0m | |
[0;33m "strip_empty_ends": true,[0m | |
[0;33m "warn": true[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "rc": 0,[0m | |
[0;33m "start": "2020-05-07 10:02:49.924934",[0m | |
[0;33m "stderr": "",[0m | |
[0;33m "stderr_lines": [],[0m | |
[0;33m "stdout": "GzJr/KM4jmnYmmI84DLV2MQpAk3T5d4jMnwflX/3o0M=",[0m | |
[0;33m "stdout_lines": [[0m | |
[0;33m "GzJr/KM4jmnYmmI84DLV2MQpAk3T5d4jMnwflX/3o0M="[0m | |
[0;33m ][0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Set consul whisper key as fact] ***************** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:34[0m | |
[1;30m[0m[0;32mok: [consul-agent] => {[0m | |
[0;32m "ansible_facts": {[0m | |
[0;32m "consul_whisper_key": "GzJr/KM4jmnYmmI84DLV2MQpAk3T5d4jMnwflX/3o0M="[0m | |
[0;32m },[0m | |
[0;32m "changed": false[0m | |
[0;32m}[0m | |
[0;32m[0m | |
TASK [ansible-role-bb-consul : Create Consul Whisper Configuration] ************ | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/create-config.yml:39[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970 `" && echo ansible-tmp-1588845770.7166545-219249097314970="` echo /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpn0engepf TO /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_stat.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/ /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_stat.py && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/file.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmppzh15btw TO /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_file.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/ /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_file.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpmemaitb4 TO /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/source[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/ /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/source && sleep 0'"][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/files/copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpldch7yjh TO /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_copy.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/ /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/AnsiballZ_copy.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;31m--- before[0m | |
[0;31m[0m[0;32m+++ after: /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpmemaitb4[0m | |
[0;32m[0m[0;36m@@ -0,0 +1 @@[0m | |
[0;36m[0m[0;32m+(( {'encrypt': consul_whisper_key} | to_json }}[0m | |
[0;32m\ No newline at end of file[0m | |
[0;32m[0m | |
[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "checksum": "135cf9686019951dbdbea0b81839264aa5200a77",[0m | |
[0;33m "dest": "/etc/consul.d/3_whisper.json",[0m | |
[0;33m "diff": [[0m | |
[0;33m {[0m | |
[0;33m "after": "(( {'encrypt': consul_whisper_key} | to_json }}",[0m | |
[0;33m "after_header": "/home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmpmemaitb4",[0m | |
[0;33m "before": ""[0m | |
[0;33m }[0m | |
[0;33m ],[0m | |
[0;33m "gid": 1000,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "_original_basename": "tmpmemaitb4",[0m | |
[0;33m "attributes": null,[0m | |
[0;33m "backup": false,[0m | |
[0;33m "checksum": "135cf9686019951dbdbea0b81839264aa5200a77",[0m | |
[0;33m "content": null,[0m | |
[0;33m "delimiter": null,[0m | |
[0;33m "dest": "/etc/consul.d/3_whisper.json",[0m | |
[0;33m "directory_mode": null,[0m | |
[0;33m "follow": false,[0m | |
[0;33m "force": false,[0m | |
[0;33m "group": "consul",[0m | |
[0;33m "local_follow": null,[0m | |
[0;33m "mode": 384,[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "regexp": null,[0m | |
[0;33m "remote_src": null,[0m | |
[0;33m "selevel": null,[0m | |
[0;33m "serole": null,[0m | |
[0;33m "setype": null,[0m | |
[0;33m "seuser": null,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/source",[0m | |
[0;33m "unsafe_writes": null,[0m | |
[0;33m "validate": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "md5sum": "2abb58a2c9f5311606e2ca00effe38b0",[0m | |
[0;33m "mode": "0600",[0m | |
[0;33m "owner": "consul",[0m | |
[0;33m "size": 47,[0m | |
[0;33m "src": "/root/.ansible/tmp/ansible-tmp-1588845770.7166545-219249097314970/source",[0m | |
[0;33m "state": "file",[0m | |
[0;33m "uid": 999[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [ansible-role-bb-consul : Start Consul] *********************************** | |
[1;30mtask path: /home/nls/devel/ansible-role-bb-consul/tasks/main.yml:34[0m | |
[1;30m[0m[0;34m<consul-agent> ESTABLISH DOCKER CONNECTION FOR USER: root[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'echo ~ && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', '/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1588845772.6275365-75328127845589 `" && echo ansible-tmp-1588845772.6275365-75328127845589="` echo /root/.ansible/tmp/ansible-tmp-1588845772.6275365-75328127845589 `" ) && sleep 0\''][0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/system/systemd.py[0m | |
[0;34m[0m[0;34m<consul-agent> PUT /home/nls/.ansible/tmp/ansible-local-282132nddb42r/tmp001b9nju TO /root/.ansible/tmp/ansible-tmp-1588845772.6275365-75328127845589/AnsiballZ_systemd.py[0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1588845772.6275365-75328127845589/ /root/.ansible/tmp/ansible-tmp-1588845772.6275365-75328127845589/AnsiballZ_systemd.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1588845772.6275365-75328127845589/AnsiballZ_systemd.py && sleep 0'"][0m | |
[0;34m[0m[0;34m<consul-agent> EXEC ['/usr/bin/docker', b'exec', b'-i', 'consul-agent', '/bin/sh', '-c', "/bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1588845772.6275365-75328127845589/ > /dev/null 2>&1 && sleep 0'"][0m | |
[0;34m[0m[0;33mchanged: [consul-agent] => {[0m | |
[0;33m "changed": true,[0m | |
[0;33m "enabled": true,[0m | |
[0;33m "invocation": {[0m | |
[0;33m "module_args": {[0m | |
[0;33m "daemon_reexec": false,[0m | |
[0;33m "daemon_reload": true,[0m | |
[0;33m "enabled": true,[0m | |
[0;33m "force": null,[0m | |
[0;33m "masked": null,[0m | |
[0;33m "name": "consul.service",[0m | |
[0;33m "no_block": false,[0m | |
[0;33m "scope": null,[0m | |
[0;33m "service": "consul.service",[0m | |
[0;33m "state": "started",[0m | |
[0;33m "user": null[0m | |
[0;33m }[0m | |
[0;33m },[0m | |
[0;33m "name": "consul.service",[0m | |
[0;33m "state": "started",[0m | |
[0;33m "status": {[0m | |
[0;33m "ActiveEnterTimestampMonotonic": "0",[0m | |
[0;33m "ActiveExitTimestampMonotonic": "0",[0m | |
[0;33m "ActiveState": "inactive",[0m | |
[0;33m "After": "network-online.target sysinit.target system.slice basic.target systemd-journald.socket",[0m | |
[0;33m "AllowIsolate": "no",[0m | |
[0;33m "AmbientCapabilities": "",[0m | |
[0;33m "AssertResult": "no",[0m | |
[0;33m "AssertTimestampMonotonic": "0",[0m | |
[0;33m "Before": "shutdown.target",[0m | |
[0;33m "BlockIOAccounting": "no",[0m | |
[0;33m "BlockIOWeight": "[not set]",[0m | |
[0;33m "CPUAccounting": "no",[0m | |
[0;33m "CPUQuotaPerSecUSec": "infinity",[0m | |
[0;33m "CPUSchedulingPolicy": "0",[0m | |
[0;33m "CPUSchedulingPriority": "0",[0m | |
[0;33m "CPUSchedulingResetOnFork": "no",[0m | |
[0;33m "CPUShares": "[not set]",[0m | |
[0;33m "CPUUsageNSec": "[not set]",[0m | |
[0;33m "CPUWeight": "[not set]",[0m | |
[0;33m "CacheDirectoryMode": "0755",[0m | |
[0;33m "CanIsolate": "no",[0m | |
[0;33m "CanReload": "yes",[0m | |
[0;33m "CanStart": "yes",[0m | |
[0;33m "CanStop": "yes",[0m | |
[0;33m "CapabilityBoundingSet": "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",[0m | |
[0;33m "CollectMode": "inactive",[0m | |
[0;33m "ConditionResult": "no",[0m | |
[0;33m "ConditionTimestampMonotonic": "0",[0m | |
[0;33m "ConfigurationDirectoryMode": "0755",[0m | |
[0;33m "Conflicts": "shutdown.target",[0m | |
[0;33m "ControlPID": "0",[0m | |
[0;33m "DefaultDependencies": "yes",[0m | |
[0;33m "Delegate": "no",[0m | |
[0;33m "Description": "Consul client agent",[0m | |
[0;33m "DevicePolicy": "auto",[0m | |
[0;33m "DynamicUser": "no",[0m | |
[0;33m "ExecMainCode": "0",[0m | |
[0;33m "ExecMainExitTimestampMonotonic": "0",[0m | |
[0;33m "ExecMainPID": "0",[0m | |
[0;33m "ExecMainStartTimestampMonotonic": "0",[0m | |
[0;33m "ExecMainStatus": "0",[0m | |
[0;33m "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",[0m | |
[0;33m "ExecStart": "{ path=/usr/local/bin/consul ; argv[]=/usr/local/bin/consul agent -config-file=/etc/consul.d/consul.json -pid-file=/var/run/consul/consul.pid ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",[0m | |
[0;33m "ExecStartPre": "{ path=/bin/chown ; argv[]=/bin/chown -R consul:consul /var/run/consul ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",[0m | |
[0;33m "FailureAction": "none",[0m | |
[0;33m "FileDescriptorStoreMax": "0",[0m | |
[0;33m "FragmentPath": "/etc/systemd/system/consul.service",[0m | |
[0;33m "GID": "[not set]",[0m | |
[0;33m "Group": "consul",[0m | |
[0;33m "GuessMainPID": "yes",[0m | |
[0;33m "IOAccounting": "no",[0m | |
[0;33m "IOSchedulingClass": "0",[0m | |
[0;33m "IOSchedulingPriority": "0",[0m | |
[0;33m "IOWeight": "[not set]",[0m | |
[0;33m "IPAccounting": "no",[0m | |
[0;33m "IPEgressBytes": "18446744073709551615",[0m | |
[0;33m "IPEgressPackets": "18446744073709551615",[0m | |
[0;33m "IPIngressBytes": "18446744073709551615",[0m | |
[0;33m "IPIngressPackets": "18446744073709551615",[0m | |
[0;33m "Id": "consul.service",[0m | |
[0;33m "IgnoreOnIsolate": "no",[0m | |
[0;33m "IgnoreSIGPIPE": "yes",[0m | |
[0;33m "InactiveEnterTimestampMonotonic": "0",[0m | |
[0;33m "InactiveExitTimestampMonotonic": "0",[0m | |
[0;33m "JobRunningTimeoutUSec": "infinity",[0m | |
[0;33m "JobTimeoutAction": "none",[0m | |
[0;33m "JobTimeoutUSec": "infinity",[0m | |
[0;33m "KeyringMode": "private",[0m | |
[0;33m "KillMode": "process",[0m | |
[0;33m "KillSignal": "15",[0m | |
[0;33m "LimitAS": "infinity",[0m | |
[0;33m "LimitASSoft": "infinity",[0m | |
[0;33m "LimitCORE": "infinity",[0m | |
[0;33m "LimitCORESoft": "infinity",[0m | |
[0;33m "LimitCPU": "infinity",[0m | |
[0;33m "LimitCPUSoft": "infinity",[0m | |
[0;33m "LimitDATA": "infinity",[0m | |
[0;33m "LimitDATASoft": "infinity",[0m | |
[0;33m "LimitFSIZE": "infinity",[0m | |
[0;33m "LimitFSIZESoft": "infinity",[0m | |
[0;33m "LimitLOCKS": "infinity",[0m | |
[0;33m "LimitLOCKSSoft": "infinity",[0m | |
[0;33m "LimitMEMLOCK": "16777216",[0m | |
[0;33m "LimitMEMLOCKSoft": "16777216",[0m | |
[0;33m "LimitMSGQUEUE": "819200",[0m | |
[0;33m "LimitMSGQUEUESoft": "819200",[0m | |
[0;33m "LimitNICE": "0",[0m | |
[0;33m "LimitNICESoft": "0",[0m | |
[0;33m "LimitNOFILE": "1048576",[0m | |
[0;33m "LimitNOFILESoft": "1048576",[0m | |
[0;33m "LimitNPROC": "infinity",[0m | |
[0;33m "LimitNPROCSoft": "infinity",[0m | |
[0;33m "LimitRSS": "infinity",[0m | |
[0;33m "LimitRSSSoft": "infinity",[0m | |
[0;33m "LimitRTPRIO": "0",[0m | |
[0;33m "LimitRTPRIOSoft": "0",[0m | |
[0;33m "LimitRTTIME": "infinity",[0m | |
[0;33m "LimitRTTIMESoft": "infinity",[0m | |
[0;33m "LimitSIGPENDING": "62814",[0m | |
[0;33m "LimitSIGPENDINGSoft": "62814",[0m | |
[0;33m "LimitSTACK": "infinity",[0m | |
[0;33m "LimitSTACKSoft": "8388608",[0m | |
[0;33m "LoadState": "loaded",[0m | |
[0;33m "LockPersonality": "no",[0m | |
[0;33m "LogLevelMax": "-1",[0m | |
[0;33m "LogsDirectoryMode": "0755",[0m | |
[0;33m "MainPID": "0",[0m | |
[0;33m "MemoryAccounting": "no",[0m | |
[0;33m "MemoryCurrent": "[not set]",[0m | |
[0;33m "MemoryDenyWriteExecute": "no",[0m | |
[0;33m "MemoryHigh": "infinity",[0m | |
[0;33m "MemoryLimit": "infinity",[0m | |
[0;33m "MemoryLow": "0",[0m | |
[0;33m "MemoryMax": "infinity",[0m | |
[0;33m "MemorySwapMax": "infinity",[0m | |
[0;33m "MountAPIVFS": "no",[0m | |
[0;33m "MountFlags": "",[0m | |
[0;33m "NFileDescriptorStore": "0",[0m | |
[0;33m "NRestarts": "0",[0m | |
[0;33m "Names": "consul.service",[0m | |
[0;33m "NeedDaemonReload": "no",[0m | |
[0;33m "Nice": "0",[0m | |
[0;33m "NoNewPrivileges": "no",[0m | |
[0;33m "NonBlocking": "no",[0m | |
[0;33m "NotifyAccess": "none",[0m | |
[0;33m "OOMScoreAdjust": "0",[0m | |
[0;33m "OnFailureJobMode": "replace",[0m | |
[0;33m "PIDFile": "/var/run/consul/consul.pid",[0m | |
[0;33m "PermissionsStartOnly": "yes",[0m | |
[0;33m "Perpetual": "no",[0m | |
[0;33m "PrivateDevices": "no",[0m | |
[0;33m "PrivateNetwork": "no",[0m | |
[0;33m "PrivateTmp": "no",[0m | |
[0;33m "PrivateUsers": "no",[0m | |
[0;33m "ProtectControlGroups": "no",[0m | |
[0;33m "ProtectHome": "no",[0m | |
[0;33m "ProtectKernelModules": "no",[0m | |
[0;33m "ProtectKernelTunables": "no",[0m | |
[0;33m "ProtectSystem": "no",[0m | |
[0;33m "RefuseManualStart": "no",[0m | |
[0;33m "RefuseManualStop": "no",[0m | |
[0;33m "RemainAfterExit": "no",[0m | |
[0;33m "RemoveIPC": "no",[0m | |
[0;33m "Requires": "system.slice network-online.target sysinit.target",[0m | |
[0;33m "Restart": "on-failure",[0m | |
[0;33m "RestartUSec": "42s",[0m | |
[0;33m "RestrictNamespaces": "no",[0m | |
[0;33m "RestrictRealtime": "no",[0m | |
[0;33m "RestrictSUIDSGID": "no",[0m | |
[0;33m "Result": "success",[0m | |
[0;33m "RootDirectoryStartOnly": "no",[0m | |
[0;33m "RuntimeDirectoryMode": "0755",[0m | |
[0;33m "RuntimeDirectoryPreserve": "no",[0m | |
[0;33m "RuntimeMaxUSec": "infinity",[0m | |
[0;33m "SameProcessGroup": "no",[0m | |
[0;33m "SecureBits": "0",[0m | |
[0;33m "SendSIGHUP": "no",[0m | |
[0;33m "SendSIGKILL": "yes",[0m | |
[0;33m "Slice": "system.slice",[0m | |
[0;33m "StandardError": "inherit",[0m | |
[0;33m "StandardInput": "null",[0m | |
[0;33m "StandardInputData": "",[0m | |
[0;33m "StandardOutput": "journal",[0m | |
[0;33m "StartLimitAction": "none",[0m | |
[0;33m "StartLimitBurst": "5",[0m | |
[0;33m "StartLimitIntervalUSec": "10s",[0m | |
[0;33m "StartupBlockIOWeight": "[not set]",[0m | |
[0;33m "StartupCPUShares": "[not set]",[0m | |
[0;33m "StartupCPUWeight": "[not set]",[0m | |
[0;33m "StartupIOWeight": "[not set]",[0m | |
[0;33m "StateChangeTimestampMonotonic": "0",[0m | |
[0;33m "StateDirectoryMode": "0755",[0m | |
[0;33m "StatusErrno": "0",[0m | |
[0;33m "StopWhenUnneeded": "no",[0m | |
[0;33m "SubState": "dead",[0m | |
[0;33m "SuccessAction": "none",[0m | |
[0;33m "SyslogFacility": "3",[0m | |
[0;33m "SyslogLevel": "6",[0m | |
[0;33m "SyslogLevelPrefix": "yes",[0m | |
[0;33m "SyslogPriority": "30",[0m | |
[0;33m "SystemCallErrorNumber": "0",[0m | |
[0;33m "TTYReset": "no",[0m | |
[0;33m "TTYVHangup": "no",[0m | |
[0;33m "TTYVTDisallocate": "no",[0m | |
[0;33m "TasksAccounting": "yes",[0m | |
[0;33m "TasksCurrent": "[not set]",[0m | |
[0;33m "TasksMax": "4915",[0m | |
[0;33m "TimeoutStartUSec": "1min 30s",[0m | |
[0;33m "TimeoutStopUSec": "1min 30s",[0m | |
[0;33m "TimerSlackNSec": "50000",[0m | |
[0;33m "Transient": "no",[0m | |
[0;33m "Type": "simple",[0m | |
[0;33m "UID": "[not set]",[0m | |
[0;33m "UMask": "0022",[0m | |
[0;33m "UnitFilePreset": "enabled",[0m | |
[0;33m "UnitFileState": "disabled",[0m | |
[0;33m "User": "consul",[0m | |
[0;33m "UtmpMode": "init",[0m | |
[0;33m "WatchdogTimestampMonotonic": "0",[0m | |
[0;33m "WatchdogUSec": "0"[0m | |
[0;33m }[0m | |
[0;33m}[0m | |
[0;33m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
PLAY RECAP ********************************************************************* | |
[0;33mconsul-agent[0m : [0;32mok=18 [0m [0;33mchanged=13 [0m unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 | |
--> Scenario: 'default' | |
--> Action: 'verify' | |
--> Running Ansible Verifier | |
Skipping, verify playbook not configured. | |
Verifier completed successfully. | |
--> Scenario: 'default' | |
--> Action: 'destroy' | |
DEBUG: ANSIBLE ENVIRONMENT | |
--- | |
ANSIBLE_COLLECTIONS_PATHS: /home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections | |
ANSIBLE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg | |
ANSIBLE_FILTER_PLUGINS: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter | |
ANSIBLE_LIBRARY: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules | |
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3 | |
ANSIBLE_ROLES_PATH: /home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles | |
DEBUG: MOLECULE ENVIRONMENT | |
--- | |
MOLECULE_DEBUG: 'True' | |
MOLECULE_DEPENDENCY_NAME: galaxy | |
MOLECULE_DRIVER_NAME: docker | |
MOLECULE_ENV_FILE: /home/nls/devel/ansible-role-bb-consul/.env.yml | |
MOLECULE_EPHEMERAL_DIRECTORY: /home/nls/.cache/molecule/ansible-role-bb-consul/default | |
MOLECULE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml | |
MOLECULE_INSTANCE_CONFIG: /home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml | |
MOLECULE_INVENTORY_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml | |
MOLECULE_PROJECT_DIRECTORY: /home/nls/devel/ansible-role-bb-consul | |
MOLECULE_PROVISIONER_NAME: ansible | |
MOLECULE_SCENARIO_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default | |
MOLECULE_SCENARIO_NAME: default | |
MOLECULE_STATE_FILE: /home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml | |
MOLECULE_VERIFIER_NAME: ansible | |
MOLECULE_VERIFIER_TEST_DIRECTORY: /home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: SHELL REPLAY | |
ANSIBLE_COLLECTIONS_PATHS=/home/nls/.cache/molecule/ansible-role-bb-consul/default/collections:/home/nls/.ansible:/usr/share/ansible/collections:/etc/ansible/collections ANSIBLE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg ANSIBLE_FILTER_PLUGINS=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/filter:/home/nls/.cache/molecule/ansible-role-bb-consul/default/plugins/filter:/home/nls/devel/ansible-role-bb-consul/plugins/filter:/home/nls/.ansible/plugins/filter:/usr/share/ansible/plugins/filter ANSIBLE_LIBRARY=/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules:/home/nls/.cache/molecule/ansible-role-bb-consul/default/library:/home/nls/devel/ansible-role-bb-consul/library:/home/nls/.ansible/plugins/modules:/usr/share/ansible/plugins/modules ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 ANSIBLE_ROLES_PATH=/home/nls/.cache/molecule/ansible-role-bb-consul/default/roles:/home/nls/devel:/home/nls/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/home/nls/devel/ansible-role-bb-consul/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/home/nls/.cache/molecule/ansible-role-bb-consul/default MOLECULE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/home/nls/.cache/molecule/ansible-role-bb-consul/default/instance_config.yml MOLECULE_INVENTORY_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml MOLECULE_PROJECT_DIRECTORY=/home/nls/devel/ansible-role-bb-consul MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_STATE_FILE=/home/nls/.cache/molecule/ansible-role-bb-consul/default/state.yml MOLECULE_VERIFIER_NAME=ansible MOLECULE_VERIFIER_TEST_DIRECTORY=/home/nls/devel/ansible-role-bb-consul/molecule/default/molecule | |
DEBUG: COMMAND | |
/home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook --skip-tags=molecule-notest,notest --diff --inventory=/home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml -vvv | |
[0;34mansible-playbook 2.9.6[0m | |
[0;34m config file = /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg[0m | |
[0;34m configured module search path = ['/home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/plugins/modules', '/home/nls/.cache/molecule/ansible-role-bb-consul/default/library', '/home/nls/devel/ansible-role-bb-consul/library', '/home/nls/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'][0m | |
[0;34m ansible python module location = /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible[0m | |
[0;34m executable location = /home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible-playbook[0m | |
[0;34m python version = 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0][0m | |
[0;34m[0m[0;34mUsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/ansible.cfg as config file[0m | |
[0;34m[0m[0;34mhost_list declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mscript declined parsing /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml as it did not pass its verify_file() method[0m | |
[0;34m[0m[0;34mParsed /home/nls/.cache/molecule/ansible-role-bb-consul/default/inventory/ansible_inventory.yml inventory source with yaml plugin[0m | |
[0;34m[0m | |
PLAYBOOK: destroy.yml ********************************************************** | |
[0;34m1 plays in /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml[0m | |
[0;34m[0m | |
PLAY [Destroy] ***************************************************************** | |
[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
TASK [Destroy molecule instance(s)] ******************************************** | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml:8[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814 `" && echo ansible-tmp-1588845775.4127185-221733091694814="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/cloud/docker/docker_container.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-1982pacm04a5/tmp_e7rcg44 TO /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814/AnsiballZ_docker_container.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-1982pacm04a5/tmpkdm81e2e TO /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814/async_wrapper.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814/ /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814/AnsiballZ_docker_container.py /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814/async_wrapper.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'ANSIBLE_ASYNC_DIR='"'"'~/.ansible_async'"'"' /home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814/async_wrapper.py 565773562450 7200 /home/nls/.ansible/tmp/ansible-tmp-1588845775.4127185-221733091694814/AnsiballZ_docker_container.py _ && sleep 0'[0m | |
[0;34m[0m[0;33mchanged: [localhost] => (item=consul-agent) => {[0m | |
[0;33m "ansible_job_id": "565773562450.2008",[0m | |
[0;33m "ansible_loop_var": "item",[0m | |
[0;33m "changed": true,[0m | |
[0;33m "finished": 0,[0m | |
[0;33m "item": {[0m | |
[0;33m "command": "",[0m | |
[0;33m "dockerfile": "../shared/Dockerfile.j2",[0m | |
[0;33m "image": "geerlingguy/docker-ubuntu1804-ansible:latest",[0m | |
[0;33m "name": "consul-agent",[0m | |
[0;33m "pre_build_image": true,[0m | |
[0;33m "privileged": true,[0m | |
[0;33m "volumes": [[0m | |
[0;33m "/sys/fs/cgroup:/sys/fs/cgroup:ro"[0m | |
[0;33m ][0m | |
[0;33m },[0m | |
[0;33m "results_file": "/home/nls/.ansible_async/565773562450.2008",[0m | |
[0;33m "started": 1[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [Wait for instance(s) deletion to complete] ******************************* | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml:28[0m | |
[1;30m[0m[0;34m<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: nls[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845776.037177-7873776849799 `" && echo ansible-tmp-1588845776.037177-7873776849799="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845776.037177-7873776849799 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/utilities/logic/async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-1982pacm04a5/tmpzm4tdla4 TO /home/nls/.ansible/tmp/ansible-tmp-1588845776.037177-7873776849799/AnsiballZ_async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845776.037177-7873776849799/ /home/nls/.ansible/tmp/ansible-tmp-1588845776.037177-7873776849799/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '/home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845776.037177-7873776849799/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/nls/.ansible/tmp/ansible-tmp-1588845776.037177-7873776849799/ > /dev/null 2>&1 && sleep 0'[0m | |
[0;34m[0m[1;30mFAILED - RETRYING: Wait for instance(s) deletion to complete (300 retries left).Result was: {[0m | |
[1;30m "attempts": 1,[0m | |
[1;30m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[1;30m "changed": false,[0m | |
[1;30m "retries": 301[0m | |
[1;30m}[0m | |
[1;30m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'echo ~nls && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/nls/.ansible/tmp/ansible-tmp-1588845781.3149583-230009672732436 `" && echo ansible-tmp-1588845781.3149583-230009672732436="` echo /home/nls/.ansible/tmp/ansible-tmp-1588845781.3149583-230009672732436 `" ) && sleep 0'[0m | |
[0;34m[0m[0;34mUsing module file /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible/modules/utilities/logic/async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> PUT /home/nls/.ansible/tmp/ansible-local-1982pacm04a5/tmpd778ivn_ TO /home/nls/.ansible/tmp/ansible-tmp-1588845781.3149583-230009672732436/AnsiballZ_async_status.py[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/nls/.ansible/tmp/ansible-tmp-1588845781.3149583-230009672732436/ /home/nls/.ansible/tmp/ansible-tmp-1588845781.3149583-230009672732436/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c '/home/nls/.virtualenvs/ansible-role-bb-consul/bin/python3 /home/nls/.ansible/tmp/ansible-tmp-1588845781.3149583-230009672732436/AnsiballZ_async_status.py && sleep 0'[0m | |
[0;34m[0m[0;34m<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/nls/.ansible/tmp/ansible-tmp-1588845781.3149583-230009672732436/ > /dev/null 2>&1 && sleep 0'[0m | |
[0;34m[0m[0;33mchanged: [localhost] => (item=None) => {[0m | |
[0;33m "attempts": 2,[0m | |
[0;33m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;33m "changed": true[0m | |
[0;33m}[0m | |
[0;33m[0m[0;33mchanged: [localhost] => {[0m | |
[0;33m "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",[0m | |
[0;33m "changed": true[0m | |
[0;33m}[0m | |
[0;33m[0m | |
TASK [Delete docker network(s)] ************************************************ | |
[1;30mtask path: /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/molecule/provisioner/ansible/playbooks/docker/destroy.yml:36[0m | |
[1;30m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m[0;34mMETA: ran handlers[0m | |
[0;34m[0m | |
PLAY RECAP ********************************************************************* | |
[0;33mlocalhost[0m : [0;32mok=2 [0m [0;33mchanged=2 [0m unreachable=0 failed=0 [0;36mskipped=1 [0m rescued=0 ignored=0 | |
--> Pruning extra files from scenario ephemeral directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment