Advertisement
loneweaver

Untitled

Nov 18th, 2019
772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.73 KB | None | 0 0
  1. 2019-11-18 14:52:42,170 p=22053 u=root | ansible-playbook 2.4.2.0
  2. config file = /opt/bahmni-installer/bahmni-playbooks/ansible.cfg
  3. configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  4. ansible python module location = /usr/lib/python2.7/site-packages/ansible
  5. executable location = /bin/ansible-playbook
  6. python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
  7. 2019-11-18 14:52:42,171 p=22053 u=root | Using /opt/bahmni-installer/bahmni-playbooks/ansible.cfg as config file
  8. 2019-11-18 14:52:42,211 p=22053 u=root | [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). This feature will be
  9. removed in version 2.6. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  10. 2019-11-18 14:52:42,217 p=22053 u=root | [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for
  11. dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False
  12. in ansible.cfg.
  13. 2019-11-18 14:52:42,260 p=22053 u=root | [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain
  14. more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting
  15. deprecation_warnings=False in ansible.cfg.
  16. 2019-11-18 14:52:42,278 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  17. 2019-11-18 14:52:42,291 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  18. 2019-11-18 14:52:42,299 p=22053 u=root | [WARNING]: Ignoring invalid attribute: sudo
  19.  
  20. 2019-11-18 14:52:42,411 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml
  21. 2019-11-18 14:52:42,435 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  22. 2019-11-18 14:52:42,462 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  23. 2019-11-18 14:52:42,521 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  24. 2019-11-18 14:52:42,532 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  25. 2019-11-18 14:52:42,594 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml
  26. 2019-11-18 14:52:42,615 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  27. 2019-11-18 14:52:42,649 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  28. 2019-11-18 14:52:42,662 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  29. 2019-11-18 14:52:42,697 p=22053 u=root | [WARNING]: Ignoring invalid attribute: sudo_user
  30.  
  31. 2019-11-18 14:52:42,708 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  32. 2019-11-18 14:52:42,721 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  33. 2019-11-18 14:52:42,752 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  34. 2019-11-18 14:52:42,787 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  35. 2019-11-18 14:52:42,822 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  36. 2019-11-18 14:52:42,835 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  37. 2019-11-18 14:52:42,875 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  38. 2019-11-18 14:52:42,888 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  39. 2019-11-18 14:52:42,947 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  40. 2019-11-18 14:52:42,960 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/dcm4chee-oracle-java/tasks/dcm4chee-oracle-java.yml
  41. 2019-11-18 14:52:42,987 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  42. 2019-11-18 14:52:42,997 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  43. 2019-11-18 14:52:43,060 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/nagios/tasks/nagios.yml
  44. 2019-11-18 14:52:43,075 p=22053 u=root | statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/nagios/tasks/email.yml
  45. 2019-11-18 14:52:43,167 p=22053 u=root | PLAYBOOK: all.yml *******************************************************************************************************************************
  46. 2019-11-18 14:52:43,167 p=22053 u=root | 26 plays in all.yml
  47. 2019-11-18 14:52:43,189 p=22053 u=root | [WARNING]: Could not match supplied host pattern, ignoring: server
  48.  
  49. 2019-11-18 14:52:43,189 p=22053 u=root | PLAY [bahmni-emr-TDD] ***************************************************************************************************************************
  50. 2019-11-18 14:52:43,190 p=22053 u=root | skipping: no hosts matched
  51. 2019-11-18 14:52:43,192 p=22053 u=root | PLAY [bahmni-emr] *******************************************************************************************************************************
  52. 2019-11-18 14:52:43,208 p=22053 u=root | TASK [Gathering Facts] **************************************************************************************************************************
  53. 2019-11-18 14:52:45,176 p=22053 u=root | ok: [10.12.0.218]
  54. 2019-11-18 14:52:45,176 p=22053 u=root | META: ran handlers
  55. 2019-11-18 14:52:45,181 p=22053 u=root | TASK [httpd-maintenance : Check if /var/www/html folder exists] *********************************************************************************
  56. 2019-11-18 14:52:45,181 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:1
  57. 2019-11-18 14:52:45,479 p=22053 u=root | ok: [10.12.0.218] => {"changed": false, "stat": {"atime": 1574068580.260333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1572946847.4686265, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 1174751, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1572946847.4686265, "nlink": 2, "path": "/var/www/html", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 52, "uid": 0, "version": "1663468780", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  58. 2019-11-18 14:52:45,484 p=22053 u=root | TASK [httpd-maintenance : Add maintenace page to /var/www/html] *********************************************************************************
  59. 2019-11-18 14:52:45,484 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:5
  60. 2019-11-18 14:52:46,102 p=22053 u=root | changed: [10.12.0.218] => (item=maintenance.html) => {"changed": true, "checksum": "a74f2e45a736a90301ac54272054d75423030c8c", "dest": "/var/www/html/./maintenance.html", "gid": 0, "group": "root", "item": "maintenance.html", "md5sum": "7a3943279dc6e2f1550454d7acd39d4a", "mode": "0644", "owner": "root", "size": 1031, "src": "/root/.ansible/tmp/ansible-tmp-1574081565.51-271055083664822/source", "state": "file", "uid": 0}
  61. 2019-11-18 14:52:46,642 p=22053 u=root | changed: [10.12.0.218] => (item=maintenance.enable) => {"changed": true, "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "dest": "/var/www/html/./maintenance.enable", "gid": 0, "group": "root", "item": "maintenance.enable", "md5sum": "d41d8cd98f00b204e9800998ecf8427e", "mode": "0644", "owner": "root", "size": 0, "src": "/root/.ansible/tmp/ansible-tmp-1574081566.12-107232945605564/source", "state": "file", "uid": 0}
  62. 2019-11-18 14:52:47,173 p=22053 u=root | changed: [10.12.0.218] => (item=src.jpg) => {"changed": true, "checksum": "f779cc9ea903c09292dc0670ed3823d9032dbf52", "dest": "/var/www/html/./src.jpg", "gid": 0, "group": "root", "item": "src.jpg", "md5sum": "922cd8d8f23ba7e96efd4554a213d6ad", "mode": "0644", "owner": "root", "size": 262165, "src": "/root/.ansible/tmp/ansible-tmp-1574081566.65-67575040337549/source", "state": "file", "uid": 0}
  63. 2019-11-18 14:52:47,687 p=22053 u=root | changed: [10.12.0.218] => (item=bahmni-logo.png) => {"changed": true, "checksum": "14bf24df3b2b37d1780b29b11368270e52456afc", "dest": "/var/www/html/./bahmni-logo.png", "gid": 0, "group": "root", "item": "bahmni-logo.png", "md5sum": "e3cfb58a8249e46e755f3e9fb9090985", "mode": "0644", "owner": "root", "size": 23645, "src": "/root/.ansible/tmp/ansible-tmp-1574081567.19-256610712981637/source", "state": "file", "uid": 0}
  64. 2019-11-18 14:52:47,692 p=22053 u=root | TASK [httpd-maintenance : Remove maintenace enable page from /var/www/html] *********************************************************************
  65. 2019-11-18 14:52:47,692 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:17
  66. 2019-11-18 14:52:47,703 p=22053 u=root | skipping: [10.12.0.218] => {"changed": false, "skip_reason": "Conditional result was False"}
  67. 2019-11-18 14:52:47,714 p=22053 u=root | TASK [httpd-maintenance : reload_httpd_service] *************************************************************************************************
  68. 2019-11-18 14:52:47,714 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:23
  69. 2019-11-18 14:52:47,732 p=22053 u=root | skipping: [10.12.0.218] => (item=10.12.0.218) => {"changed": false, "item": "10.12.0.218", "skip_reason": "Conditional result was False"}
  70. 2019-11-18 14:52:47,733 p=22053 u=root | META: ran handlers
  71. 2019-11-18 14:52:47,733 p=22053 u=root | META: ran handlers
  72. 2019-11-18 14:52:47,736 p=22053 u=root | PLAY [local] ************************************************************************************************************************************
  73. 2019-11-18 14:52:47,754 p=22053 u=root | META: noop
  74. 2019-11-18 14:52:47,757 p=22053 u=root | TASK [Gathering Facts] **************************************************************************************************************************
  75. 2019-11-18 14:52:48,429 p=22053 u=root | ok: [10.12.0.219]
  76. 2019-11-18 14:52:48,429 p=22053 u=root | META: ran handlers
  77. 2019-11-18 14:52:48,430 p=22053 u=root | META: ran handlers
  78. 2019-11-18 14:52:48,430 p=22053 u=root | META: ran handlers
  79. 2019-11-18 14:52:48,432 p=22053 u=root | [WARNING]: Could not match supplied host pattern, ignoring: bahmni-emr-db-slave
  80.  
  81. 2019-11-18 14:52:48,434 p=22053 u=root | PLAY [bahmni-emr-db,bahmni-emr-db-slave] ********************************************************************************************************
  82. 2019-11-18 14:52:48,444 p=22053 u=root | META: ran handlers
  83. 2019-11-18 14:52:48,444 p=22053 u=root | META: ran handlers
  84. 2019-11-18 14:52:48,444 p=22053 u=root | META: ran handlers
  85. 2019-11-18 14:52:48,447 p=22053 u=root | PLAY [bahmni-emr-db] ****************************************************************************************************************************
  86. 2019-11-18 14:52:48,450 p=22053 u=root | META: ran handlers
  87. 2019-11-18 14:52:48,450 p=22053 u=root | META: ran handlers
  88. 2019-11-18 14:52:48,451 p=22053 u=root | META: ran handlers
  89. 2019-11-18 14:52:48,455 p=22053 u=root | PLAY [bahmni-emr] *******************************************************************************************************************************
  90. 2019-11-18 14:52:48,486 p=22053 u=root | META: ran handlers
  91. 2019-11-18 14:52:48,486 p=22053 u=root | META: ran handlers
  92. 2019-11-18 14:52:48,486 p=22053 u=root | META: ran handlers
  93. 2019-11-18 14:52:48,488 p=22053 u=root | [WARNING]: Could not match supplied host pattern, ignoring: bahmni-reports-db-slave
  94.  
  95. 2019-11-18 14:52:48,489 p=22053 u=root | PLAY [bahmni-reports-db,bahmni-reports-db-slave] ************************************************************************************************
  96. 2019-11-18 14:52:48,499 p=22053 u=root | META: ran handlers
  97. 2019-11-18 14:52:48,499 p=22053 u=root | META: ran handlers
  98. 2019-11-18 14:52:48,499 p=22053 u=root | META: ran handlers
  99. 2019-11-18 14:52:48,501 p=22053 u=root | PLAY [bahmni-reports-db] ************************************************************************************************************************
  100. 2019-11-18 14:52:48,504 p=22053 u=root | META: ran handlers
  101. 2019-11-18 14:52:48,504 p=22053 u=root | META: ran handlers
  102. 2019-11-18 14:52:48,504 p=22053 u=root | META: ran handlers
  103. 2019-11-18 14:52:48,507 p=22053 u=root | PLAY [bahmni-reports] ***************************************************************************************************************************
  104. 2019-11-18 14:52:48,519 p=22053 u=root | META: ran handlers
  105. 2019-11-18 14:52:48,519 p=22053 u=root | META: ran handlers
  106. 2019-11-18 14:52:48,519 p=22053 u=root | META: ran handlers
  107. 2019-11-18 14:52:48,520 p=22053 u=root | [WARNING]: Could not match supplied host pattern, ignoring: bahmni-lab-db
  108.  
  109. 2019-11-18 14:52:48,521 p=22053 u=root | [WARNING]: Could not match supplied host pattern, ignoring: bahmni-lab-db-slave
  110.  
  111. 2019-11-18 14:52:48,521 p=22053 u=root | PLAY [bahmni-lab-db,bahmni-lab-db-slave] ********************************************************************************************************
  112. 2019-11-18 14:52:48,521 p=22053 u=root | skipping: no hosts matched
  113. 2019-11-18 14:52:48,522 p=22053 u=root | [WARNING]: Could not match supplied host pattern, ignoring: bahmni-lab
  114.  
  115. 2019-11-18 14:52:48,523 p=22053 u=root | PLAY [bahmni-lab] *******************************************************************************************************************************
  116. 2019-11-18 14:52:48,523 p=22053 u=root | skipping: no hosts matched
  117. 2019-11-18 14:52:48,525 p=22053 u=root | PLAY [bahmni-emr] *******************************************************************************************************************************
  118. 2019-11-18 14:52:48,531 p=22053 u=root | META: ran handlers
  119. 2019-11-18 14:52:48,532 p=22053 u=root | META: ran handlers
  120. 2019-11-18 14:52:48,532 p=22053 u=root | META: ran handlers
  121. 2019-11-18 14:52:48,533 p=22053 u=root | [WARNING]: Could not match supplied host pattern, ignoring: bahmni-erp-db-slave
  122.  
  123. 2019-11-18 14:52:48,535 p=22053 u=root | PLAY [bahmni-erp-db:bahmni-erp-db-slave] ********************************************************************************************************
  124. 2019-11-18 14:52:48,540 p=22053 u=root | META: ran handlers
  125. 2019-11-18 14:52:48,544 p=22053 u=root | TASK [postgres : Check if postgres yum repo rpm is present] *************************************************************************************
  126. 2019-11-18 14:52:48,544 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:1
  127. 2019-11-18 14:52:48,768 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "stat": {"atime": 1572942777.7553718, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "binary", "checksum": "2824025893a37108c7067dcaf585e6c027b61a76", "ctime": 1572532266.1722932, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 68039078, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "8af5e4af50449bca2a2169de829d4b39", "mimetype": "application/x-rpm", "mode": "0644", "mtime": 1569590896.0, "nlink": 1, "path": "/opt/pgdg-centos96-9.6-3.noarch.rpm", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5932, "uid": 0, "version": "380019734", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
  128. 2019-11-18 14:52:48,773 p=22053 u=root | TASK [postgres : Download postgres yum repo rpm if not present] *********************************************************************************
  129. 2019-11-18 14:52:48,773 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:5
  130. 2019-11-18 14:52:48,784 p=22053 u=root | skipping: [10.12.0.219] => {"changed": false, "skip_reason": "Conditional result was False"}
  131. 2019-11-18 14:52:48,789 p=22053 u=root | TASK [postgres : Install postgresql yum repository] *********************************************************************************************
  132. 2019-11-18 14:52:48,789 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:9
  133. 2019-11-18 14:52:49,642 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "msg": "", "rc": 0, "results": ["pgdg-redhat-repo-42.0-5.noarch providing /opt/pgdg-centos96-9.6-3.noarch.rpm is already installed"]}
  134. 2019-11-18 14:52:49,650 p=22053 u=root | TASK [postgres : Install python-psycopg2] *******************************************************************************************************
  135. 2019-11-18 14:52:49,650 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:12
  136. 2019-11-18 14:53:36,760 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "msg": "", "rc": 0, "results": ["python2-psycopg2-2.8.3-3.rhel7.x86_64 providing python-psycopg2 is already installed"]}
  137. 2019-11-18 14:53:36,765 p=22053 u=root | TASK [postgres : Install postgresql] ************************************************************************************************************
  138. 2019-11-18 14:53:36,765 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:15
  139. 2019-11-18 14:53:37,598 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "msg": "", "rc": 0, "results": ["postgresql96-server-9.6.15-1PGDG.rhel7.x86_64 providing postgresql96-server.x86_64 is already installed"]}
  140. 2019-11-18 14:53:37,603 p=22053 u=root | TASK [postgres : Install postgresql-contrib] ****************************************************************************************************
  141. 2019-11-18 14:53:37,603 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:18
  142. 2019-11-18 14:53:38,246 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "msg": "", "rc": 0, "results": ["postgresql96-contrib-9.6.15-1PGDG.rhel7.x86_64 providing postgresql96-contrib.x86_64 is already installed"]}
  143. 2019-11-18 14:53:38,251 p=22053 u=root | TASK [postgres : Initiate database] *************************************************************************************************************
  144. 2019-11-18 14:53:38,251 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:21
  145. 2019-11-18 14:53:38,631 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "cmd": "/usr/pgsql-9.6/bin/postgresql96-setup initdb", "rc": 0, "stdout": "skipped, since /var/lib/pgsql/9.6/data/postgresql.conf exists", "stdout_lines": ["skipped, since /var/lib/pgsql/9.6/data/postgresql.conf exists"]}
  146. 2019-11-18 14:53:38,639 p=22053 u=root | TASK [postgres : Copy postgresql conf] **********************************************************************************************************
  147. 2019-11-18 14:53:38,639 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:24
  148. 2019-11-18 14:53:39,222 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "checksum": "3a6a395af3e53412f70e14256f81eb1e97a23468", "gid": 26, "group": "postgres", "mode": "0644", "owner": "postgres", "path": "/var/lib/pgsql/9.6/data/postgresql.conf", "size": 19683, "state": "file", "uid": 26}
  149. 2019-11-18 14:53:39,227 p=22053 u=root | TASK [postgres : insert/update postgres config after "local" is for Unix domain socket connections only line] ***********************************
  150. 2019-11-18 14:53:39,227 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:33
  151. 2019-11-18 14:53:39,606 p=22053 u=root | ok: [10.12.0.219] => {"backup": "", "changed": false, "msg": ""}
  152. 2019-11-18 14:53:39,611 p=22053 u=root | TASK [postgres : insert/update postgres config after IPv4 local connections line] ***************************************************************
  153. 2019-11-18 14:53:39,611 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:41
  154. 2019-11-18 14:53:39,824 p=22053 u=root | ok: [10.12.0.219] => {"backup": "", "changed": false, "msg": ""}
  155. 2019-11-18 14:53:39,829 p=22053 u=root | TASK [postgres : insert/update postgres config after IPv6 local connections line] ***************************************************************
  156. 2019-11-18 14:53:39,829 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:49
  157. 2019-11-18 14:53:40,036 p=22053 u=root | ok: [10.12.0.219] => {"backup": "", "changed": false, "msg": ""}
  158. 2019-11-18 14:53:40,041 p=22053 u=root | TASK [postgres : Removing recovery config file from master db] **********************************************************************************
  159. 2019-11-18 14:53:40,041 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:58
  160. 2019-11-18 14:53:40,257 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "path": "/var/lib/pgsql/9.6/data/recovery.conf", "state": "absent"}
  161. 2019-11-18 14:53:40,263 p=22053 u=root | TASK [postgres : Get matched IpTable rule] ******************************************************************************************************
  162. 2019-11-18 14:53:40,263 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:67
  163. 2019-11-18 14:53:40,663 p=22053 u=root | changed: [10.12.0.219] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep POSTGRES -m 1 | cut -c 1-2", "delta": "0:00:00.163405", "end": "2019-11-18 14:53:40.635517", "rc": 0, "start": "2019-11-18 14:53:40.472112", "stderr": "", "stderr_lines": [], "stdout": "1 ", "stdout_lines": ["1 "]}
  164. 2019-11-18 14:53:40,670 p=22053 u=root | TASK [postgres : delete matching rule if exists] ************************************************************************************************
  165. 2019-11-18 14:53:40,670 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:71
  166. 2019-11-18 14:53:40,922 p=22053 u=root | changed: [10.12.0.219] => {"changed": true, "cmd": "iptables -D INPUT 1 ", "delta": "0:00:00.003050", "end": "2019-11-18 14:53:40.905347", "rc": 0, "start": "2019-11-18 14:53:40.902297", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  167. 2019-11-18 14:53:40,927 p=22053 u=root | TASK [postgres : Allow postgres port through firewall] ******************************************************************************************
  168. 2019-11-18 14:53:40,927 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:75
  169. 2019-11-18 14:53:41,197 p=22053 u=root | changed: [10.12.0.219] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "5432", "-j", "ACCEPT", "-m", "comment", "--comment", "POSTGRES"], "delta": "0:00:00.003375", "end": "2019-11-18 14:53:41.167261", "rc": 0, "start": "2019-11-18 14:53:41.163886", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  170. 2019-11-18 14:53:41,202 p=22053 u=root | TASK [postgres : save iptables] *****************************************************************************************************************
  171. 2019-11-18 14:53:41,203 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:78
  172. 2019-11-18 14:53:41,555 p=22053 u=root | changed: [10.12.0.219] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.115498", "end": "2019-11-18 14:53:41.541777", "rc": 0, "start": "2019-11-18 14:53:41.426279", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  173. 2019-11-18 14:53:41,561 p=22053 u=root | TASK [postgres : Stop PostgreSQL] ***************************************************************************************************************
  174. 2019-11-18 14:53:41,561 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:83
  175. 2019-11-18 14:53:41,573 p=22053 u=root | skipping: [10.12.0.219] => {"changed": false, "skip_reason": "Conditional result was False"}
  176. 2019-11-18 14:53:41,578 p=22053 u=root | TASK [postgres : Start PostgreSQL and enable at boot] *******************************************************************************************
  177. 2019-11-18 14:53:41,578 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:89
  178. 2019-11-18 14:53:41,983 p=22053 u=root | ok: [10.12.0.219] => {"changed": false, "enabled": true, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2019-11-05 11:44:49 CAT", "ActiveEnterTimestampMonotonic": "80449221946", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice syslog.target basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2019-11-05 11:44:49 CAT", "AssertTimestampMonotonic": "80449189917", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2019-11-05 11:44:49 CAT", "ConditionTimestampMonotonic": "80449189916", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql-9.6.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL 9.6 database server", "DevicePolicy": "auto", "Documentation": "https://www.postgresql.org/docs/9.6/static/", "Environment": "PGDATA=/var/lib/pgsql/9.6/data/ PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2393", "ExecMainStartTimestamp": "Tue 2019-11-05 11:44:49 CAT", "ExecMainStartTimestampMonotonic": "80449194732", "ExecMainStatus": "0", "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 }", "ExecStart": "{ path=/usr/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Tue 2019-11-05 11:44:49 CAT] ; stop_time=[n/a] ; pid=2393 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ; argv[]=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} ; ignore_errors=no ; start_time=[Tue 2019-11-05 11:44:49 CAT] ; stop_time=[Tue 2019-11-05 11:44:49 CAT] ; pid=2384 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql-9.6.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postgresql-9.6.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2019-11-05 11:44:49 CAT", "InactiveExitTimestampMonotonic": "80449190241", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "31192", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "31192", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "2393", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "postgresql-9.6.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2019-11-05 11:44:49 CAT", "WatchdogTimestampMonotonic": "80449221929", "WatchdogUSec": "0"}}
  179. 2019-11-18 14:53:41,988 p=22053 u=root | TASK [postgres : Create postgres user] **********************************************************************************************************
  180. 2019-11-18 14:53:41,988 p=22053 u=root | task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:95
  181. 2019-11-18 14:53:42,331 p=22053 u=root | fatal: [10.12.0.219]: FAILED! => {"changed": false, "msg": "the python psycopg2 module is required"}
  182. 2019-11-18 14:53:42,333 p=22053 u=root | to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry
  183.  
  184. 2019-11-18 14:53:42,333 p=22053 u=root | PLAY RECAP **************************************************************************************************************************************
  185. 2019-11-18 14:53:42,333 p=22053 u=root | 10.12.0.218 : ok=3 changed=1 unreachable=0 failed=0
  186. 2019-11-18 14:53:42,333 p=22053 u=root | 10.12.0.219 : ok=17 changed=4 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement