Advertisement
burke

Untitled

Aug 17th, 2019
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. $ ansible-playbook -i inventories/prod-tier2 --limit mua.openmrs.org --tags docker -u burke site.yml
  2. Enter passphrase for /root/.ssh/id_rsa:
  3. Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa)
  4. [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default).
  5. This
  6. feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in
  7. ansible.cfg.
  8.  
  9. PLAY [full-ansible] ************************************************************
  10.  
  11. TASK [setup] *******************************************************************
  12. ok: [mua.openmrs.org]
  13.  
  14. PLAY [all] *********************************************************************
  15.  
  16. PLAY [tls] *********************************************************************
  17.  
  18. PLAY [web] *********************************************************************
  19.  
  20. PLAY [backup] ******************************************************************
  21.  
  22. PLAY [docker] ******************************************************************
  23.  
  24. TASK [docker : resolve platform specific vars] *********************************
  25. ok: [mua.openmrs.org] => (item=/itsm/ansible/roles/docker/vars/Ubuntu-xenial.yml)
  26.  
  27. TASK [docker : install OS dep pkgs...] *****************************************
  28. ok: [mua.openmrs.org] => (item=[u'apt-transport-https', u'ca-certificates', u'linux-image-extra-virtual', u'linux-image-extra-virtual-lts-xenial'])
  29.  
  30. TASK [docker : configuring package management system] **************************
  31. included: /itsm/ansible/roles/docker/tasks/apt.yml for mua.openmrs.org
  32.  
  33. TASK [docker : trust apt key] **************************************************
  34. ok: [mua.openmrs.org]
  35.  
  36. TASK [docker : install docker.list] ********************************************
  37. ok: [mua.openmrs.org]
  38.  
  39. TASK [docker : install docker-engine] ******************************************
  40. ok: [mua.openmrs.org] => (item=[u'docker-engine'])
  41.  
  42. TASK [docker : create root user docker config directory] ***********************
  43. skipping: [mua.openmrs.org]
  44.  
  45. TASK [docker : configuring docker access for the root user...] *****************
  46. skipping: [mua.openmrs.org] => (item={u'm': u'0600', u't': u'cert.pem', u'f': u'~/pki/mua.openmrs.org.pem'})
  47. skipping: [mua.openmrs.org] => (item={u'm': u'0600', u't': u'ca.pem', u'f': u'~/pki/ca.pem'})
  48. skipping: [mua.openmrs.org] => (item={u'm': u'0400', u't': u'key.pem', u'f': u'~/pki/mua.openmrs.org-key.pem'})
  49.  
  50. TASK [docker : include_vars] ***************************************************
  51. ok: [mua.openmrs.org]
  52.  
  53. TASK [docker : creating init-system config directory...] ***********************
  54. ok: [mua.openmrs.org] => (item={u'm': u'0644', u'd': u'etc/systemd/system/docker.service.d', u'f': u'ansible-configured.conf'})
  55.  
  56. TASK [docker : configuring init-system...] *************************************
  57. ok: [mua.openmrs.org] => (item={u'm': u'0644', u'd': u'etc/systemd/system/docker.service.d', u'f': u'ansible-configured.conf'})
  58.  
  59. TASK [docker : write /etc/profile.d/docker.sh] *********************************
  60. ok: [mua.openmrs.org] => (item=etc/profile.d/docker.sh)
  61.  
  62. TASK [docker : init-system reload] *********************************************
  63. skipping: [mua.openmrs.org]
  64.  
  65. TASK [docker : launch docker...] ***********************************************
  66. ok: [mua.openmrs.org]
  67.  
  68. TASK [docker-compose : Installing packages] ************************************
  69. ok: [mua.openmrs.org] => (item=[u'python-setuptools'])
  70.  
  71. TASK [docker-compose : Installing dependencies] ********************************
  72. ok: [mua.openmrs.org]
  73.  
  74. TASK [docker-compose : Installing docker compose] ******************************
  75. ok: [mua.openmrs.org]
  76.  
  77. TASK [docker-compose-openmrs : copy docker compose files] **********************
  78. ok: [mua.openmrs.org] => (item=wordpress)
  79. ok: [mua.openmrs.org] => (item=yourls)
  80.  
  81. TASK [docker-compose-openmrs : stat] *******************************************
  82. ok: [mua.openmrs.org]
  83.  
  84. TASK [docker-compose-openmrs : copy autodeploy files] **************************
  85. ok: [mua.openmrs.org] => (item=dockerhub-webhook)
  86.  
  87. TASK [docker-compose-openmrs : add executable mode to deploy script] ***********
  88. ok: [mua.openmrs.org]
  89.  
  90. TASK [docker-compose-openmrs : add executable mode to deploy script wrapper] ***
  91. ok: [mua.openmrs.org]
  92.  
  93. TASK [docker-compose-openmrs : copy deploy script] *****************************
  94. ok: [mua.openmrs.org]
  95.  
  96. TASK [docker-compose-openmrs : create dockerhub-webhook config] ****************
  97. ok: [mua.openmrs.org]
  98.  
  99. TASK [docker-compose-openmrs : generate token] *********************************
  100. skipping: [mua.openmrs.org]
  101.  
  102. TASK [Adding dd-agent to docker group] *****************************************
  103. ok: [mua.openmrs.org]
  104.  
  105. TASK [Check if docker-py is installed] *****************************************
  106. ok: [mua.openmrs.org]
  107.  
  108. TASK [Uninstall docker-py] *****************************************************
  109. skipping: [mua.openmrs.org]
  110.  
  111. TASK [Check if docker was restarted yet] ***************************************
  112. ok: [mua.openmrs.org]
  113.  
  114. TASK [Restart docker service] **************************************************
  115. skipping: [mua.openmrs.org]
  116.  
  117. TASK [Configure datadog service to start after docker] *************************
  118. ok: [mua.openmrs.org]
  119.  
  120. TASK [Docker cleanup script copy] **********************************************
  121. ok: [mua.openmrs.org]
  122.  
  123. TASK [Docker cleanup cron] *****************************************************
  124. ok: [mua.openmrs.org]
  125.  
  126. PLAY RECAP *********************************************************************
  127. mua.openmrs.org : ok=28 changed=0 unreachable=0 failed=0
  128.  
  129. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement