Advertisement
folza34

Untitled

Dec 18th, 2021
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 396.01 KB | None | 0 0
  1. [root@localhost yousef]# bahmni -i local install
  2. ansible-playbook -i /etc/bahmni-installer/local all.yml -vv --extra-vars '@/etc/bahmni-installer/rpm_versions.yml' --extra-vars '@/etc/bahmni-backrest.conf' --extra-vars '@/etc/bahmni-installer/setup.yml'
  3. ansible-playbook 2.4.6.0
  4. config file = /opt/bahmni-installer/bahmni-playbooks/ansible.cfg
  5. configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  6. ansible python module location = /usr/lib/python2.7/site-packages/ansible
  7. executable location = /bin/ansible-playbook
  8. python version = 2.7.5 (default, Nov 16 2020, 22:23:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
  9. Using /opt/bahmni-installer/bahmni-playbooks/ansible.cfg as config file
  10. [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is
  11. 'sudo' (default). This feature will be removed in version 2.6. Deprecation warnings can be disabled by
  12. setting deprecation_warnings=False in ansible.cfg.
  13. [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static
  14. inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release.
  15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  16. [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module
  17. documentation details page may explain more about this rationale.. This feature will be removed in a future
  18. release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  19. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  20. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  21. [WARNING]: Ignoring invalid attribute: sudo
  22.  
  23. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml
  24. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  25. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  26. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml
  27. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml
  28. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  29. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  30. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml
  31. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  32. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml
  33. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml
  34. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  35. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  36. [WARNING]: Ignoring invalid attribute: sudo_user
  37.  
  38. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  39. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  40. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  41. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  42. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  43. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  44. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  45. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  46. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  47. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/dcm4chee-oracle-java/tasks/dcm4chee-oracle-java.yml
  48. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml
  49. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml
  50. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/nagios/tasks/nagios.yml
  51. statically imported: /opt/bahmni-installer/bahmni-playbooks/roles/nagios/tasks/email.yml
  52. /usr/lib/python2.7/site-packages/requests-2.26.0-py2.7.egg/requests/__init__.py:104: RequestsDependencyWarning: urllib3 (1.26.7) or chardet (2.2.1)/charset_normalizer (None) doesn't match a supported version!
  53. RequestsDependencyWarning)
  54.  
  55. PLAYBOOK: all.yml ******************************************************************************************
  56. 26 plays in all.yml
  57. [WARNING]: Could not match supplied host pattern, ignoring: server
  58.  
  59.  
  60. PLAY [bahmni-emr-TDD] **************************************************************************************
  61. skipping: no hosts matched
  62.  
  63. PLAY [bahmni-emr] ******************************************************************************************
  64.  
  65. TASK [Gathering Facts] *************************************************************************************
  66. ok: [localhost]
  67. META: ran handlers
  68.  
  69. TASK [httpd-maintenance : Check if /var/www/html folder exists] ********************************************
  70. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:1
  71. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1636554426.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1639836169.4667547, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17878543, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1639836169.4667547, "nlink": 2, "path": "/var/www/html", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 140, "uid": 0, "version": "18446744073434284463", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  72.  
  73. TASK [httpd-maintenance : Add maintenace page to /var/www/html] ********************************************
  74. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:5
  75. ok: [localhost] => (item=maintenance.html) => {"changed": false, "checksum": "a74f2e45a736a90301ac54272054d75423030c8c", "dest": "/var/www/html/./maintenance.html", "failed": false, "gid": 0, "group": "root", "item": "maintenance.html", "mode": "0644", "owner": "root", "path": "/var/www/html/./maintenance.html", "size": 1031, "state": "file", "uid": 0}
  76. ok: [localhost] => (item=maintenance.enable) => {"changed": false, "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "dest": "/var/www/html/./maintenance.enable", "failed": false, "gid": 0, "group": "root", "item": "maintenance.enable", "mode": "0644", "owner": "root", "path": "/var/www/html/./maintenance.enable", "size": 0, "state": "file", "uid": 0}
  77. ok: [localhost] => (item=src.jpg) => {"changed": false, "checksum": "f779cc9ea903c09292dc0670ed3823d9032dbf52", "dest": "/var/www/html/./src.jpg", "failed": false, "gid": 0, "group": "root", "item": "src.jpg", "mode": "0644", "owner": "root", "path": "/var/www/html/./src.jpg", "size": 262165, "state": "file", "uid": 0}
  78. ok: [localhost] => (item=bahmni-logo.png) => {"changed": false, "checksum": "14bf24df3b2b37d1780b29b11368270e52456afc", "dest": "/var/www/html/./bahmni-logo.png", "failed": false, "gid": 0, "group": "root", "item": "bahmni-logo.png", "mode": "0644", "owner": "root", "path": "/var/www/html/./bahmni-logo.png", "size": 23645, "state": "file", "uid": 0}
  79.  
  80. TASK [httpd-maintenance : Remove maintenace enable page from /var/www/html] ********************************
  81. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:17
  82. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  83.  
  84. TASK [httpd-maintenance : reload_httpd_service] ************************************************************
  85. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd-maintenance/tasks/main.yml:23
  86. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  87. META: ran handlers
  88. META: ran handlers
  89.  
  90. PLAY [local] ***********************************************************************************************
  91. META: ran handlers
  92.  
  93. TASK [selinux : install libselinux-python] *****************************************************************
  94. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/main.yml:3
  95. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed"]}
  96.  
  97. TASK [selinux : install libsemanage-python] ****************************************************************
  98. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/main.yml:6
  99. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["libsemanage-python-2.5-14.el7.x86_64 providing libsemanage-python is already installed"]}
  100.  
  101. TASK [selinux : Get selinux status] ************************************************************************
  102. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/main.yml:9
  103. changed: [localhost] => {"changed": true, "cmd": ["getenforce"], "delta": "0:00:00.098344", "end": "2021-12-18 22:27:53.720910", "failed": false, "rc": 0, "start": "2021-12-18 22:27:53.622566", "stderr": "", "stderr_lines": [], "stdout": "Disabled", "stdout_lines": ["Disabled"]}
  104.  
  105. TASK [selinux : set selinux state and policy] **************************************************************
  106. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/main.yml:13
  107. ok: [localhost] => {"changed": false, "configfile": "/etc/selinux/config", "failed": false, "msg": "", "policy": "targeted", "reboot_required": false, "state": "disabled"}
  108.  
  109. TASK [selinux : Give a message to reboot machine on changing from disabled to enabled] *********************
  110. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:3
  111. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  112.  
  113. TASK [selinux : Install policycoreutils-python] ************************************************************
  114. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:7
  115. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  116.  
  117. TASK [selinux : set httpd_can_network_relay for SELinux] ***************************************************
  118. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:10
  119. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  120.  
  121. TASK [selinux : set httpd_read_user_content for SELinux] ***************************************************
  122. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:16
  123. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  124.  
  125. TASK [selinux : set httpd_can_network_connect for SELinux] *************************************************
  126. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:22
  127. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  128.  
  129. TASK [selinux : set httpd_enable_cgi for SELinux] **********************************************************
  130. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:28
  131. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  132.  
  133. TASK [selinux : Copy bahmni_http_home_dir selinux policy] **************************************************
  134. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:34
  135. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  136.  
  137. TASK [selinux : Compile module] ****************************************************************************
  138. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:37
  139. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  140.  
  141. TASK [selinux : Package selinux policy] ********************************************************************
  142. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:40
  143. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  144.  
  145. TASK [selinux : Install bahmni_http_home_dir selinux policy] ***********************************************
  146. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:43
  147. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  148.  
  149. TASK [selinux : Setpermissive for httpd_t] *****************************************************************
  150. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:46
  151. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  152.  
  153. TASK [selinux : Clean up policy files created in /tmp] *****************************************************
  154. task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/enforcing_policies.yml:49
  155. skipping: [localhost] => (item=/tmp/bahmni_httpd_home_dir.te) => {"changed": false, "item": "/tmp/bahmni_httpd_home_dir.te", "skip_reason": "Conditional result was False", "skipped": true}
  156. skipping: [localhost] => (item=/tmp/bahmni_httpd_home_dir.mod) => {"changed": false, "item": "/tmp/bahmni_httpd_home_dir.mod", "skip_reason": "Conditional result was False", "skipped": true}
  157. skipping: [localhost] => (item=/tmp/bahmni_httpd_home_dir.pp) => {"changed": false, "item": "/tmp/bahmni_httpd_home_dir.pp", "skip_reason": "Conditional result was False", "skipped": true}
  158.  
  159. TASK [bahmni-base : Install libselinux-python] *************************************************************
  160. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:2
  161. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed"]}
  162.  
  163. TASK [bahmni-base : add bahmni yum repo] *******************************************************************
  164. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:5
  165. ok: [localhost] => {"changed": false, "checksum": "a7c14c742c0c4dda9a1508a66b2dbf7e385703b6", "dest": "/etc/yum.repos.d/bahmni.repo", "failed": false, "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/bahmni.repo", "size": 119, "state": "file", "uid": 0}
  166.  
  167. TASK [bahmni-base : Install EPEL repo.] ********************************************************************
  168. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:8
  169. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["epel-release-7-11.noarch providing epel-release is already installed"]}
  170.  
  171. TASK [bahmni-base : Import EPEL GPG key.] ******************************************************************
  172. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:13
  173. ok: [localhost] => {"changed": false, "failed": false}
  174.  
  175. TASK [bahmni-base : Install ntp] ***************************************************************************
  176. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:18
  177. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["ntp-4.2.6p5-29.el7.centos.2.x86_64 providing ntp is already installed"]}
  178.  
  179. TASK [bahmni-base : Fail if timezone is not provided] ******************************************************
  180. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:22
  181. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  182.  
  183. TASK [bahmni-base : Check if timezone exists] **************************************************************
  184. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:29
  185. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639832885.192, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "checksum": "02d65167c24ab57f016fb1144e92dc9e6997f42b", "ctime": 1639697615.522, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 75620, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "569f373970581e6488a24b5c70326d49", "mimetype": "application/octet-stream", "mode": "0644", "mtime": 1635334954.0, "nlink": 2, "path": "/usr/share/zoneinfo/Asia/Kolkata", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "18446744072810015571", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
  186.  
  187. TASK [bahmni-base : Fail if provided timezone does not exist] **********************************************
  188. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:34
  189. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  190.  
  191. TASK [bahmni-base : Set the correct timezone.] *************************************************************
  192. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:39
  193. ok: [localhost] => {"changed": false, "dest": "/etc/localtime", "failed": false, "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 32, "src": "/usr/share/zoneinfo/Asia/Kolkata", "state": "link", "uid": 0}
  194.  
  195. TASK [bahmni-base : start and enable ntpd] *****************************************************************
  196. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:43
  197. ok: [localhost] => {"changed": false, "enabled": true, "failed": false, "name": "ntpd", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:38:26 IST", "ActiveEnterTimestampMonotonic": "39666068", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sntp.service syslog.target ntpdate.service system.slice tmp.mount systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:19 IST", "AssertTimestampMonotonic": "31787754", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:19 IST", "ConditionTimestampMonotonic": "31787754", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/ntpd.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Time Service", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/ntpd (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "706", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:26 IST", "ExecMainStartTimestampMonotonic": "39666021", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/ntpd ; argv[]=/usr/sbin/ntpd -u ntp:ntp $OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/ntpd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "ntpd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 18:38:19 IST", "InactiveExitTimestampMonotonic": "32435388", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "706", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "ntpd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/tmp", "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": "1", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:38:26 IST", "WatchdogTimestampMonotonic": "39666045", "WatchdogUSec": "0"}}
  198.  
  199. TASK [bahmni-base : install utils] *************************************************************************
  200. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:47
  201. ok: [localhost] => (item=[u'tree', u'htop', u'lsof', u'wget', u'unzip', u'python-pip', u'rsync']) => {"changed": false, "failed": false, "item": ["tree", "htop", "lsof", "wget", "unzip", "python-pip", "rsync"], "msg": "", "rc": 0, "results": ["tree-1.6.0-10.el7.x86_64 providing tree is already installed", "htop-2.2.0-3.el7.x86_64 providing htop is already installed", "lsof-4.87-6.el7.x86_64 providing lsof is already installed", "wget-1.14-18.el7_6.1.x86_64 providing wget is already installed", "unzip-6.0-22.el7_9.x86_64 providing unzip is already installed", "python2-pip-8.1.2-14.el7.noarch providing python-pip is already installed", "rsync-3.1.2-10.el7.x86_64 providing rsync is already installed"]}
  202.  
  203. TASK [bahmni-base : Check if pip is installed with required version] ***************************************
  204. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:59
  205. changed: [localhost] => {"changed": true, "cmd": ["pip", "--version"], "delta": "0:00:10.071974", "end": "2021-12-18 22:30:29.991170", "failed": false, "rc": 0, "start": "2021-12-18 22:30:19.919196", "stderr": "", "stderr_lines": [], "stdout": "pip 19.0 from /usr/lib/python2.7/site-packages/pip (python 2.7)", "stdout_lines": ["pip 19.0 from /usr/lib/python2.7/site-packages/pip (python 2.7)"]}
  206.  
  207. TASK [bahmni-base : Upgrade pip to latest vesion] **********************************************************
  208. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:63
  209. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  210. pipVersion.stdout.find("{{ odoo_pip_version }}") == -1
  211.  
  212. ok: [localhost] => {"changed": false, "cmd": "/bin/pip2 install --upgrade pip==19.0.0", "failed": false, "name": ["pip==19.0.0"], "requirements": null, "state": "present", "stderr": "DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\nYou are using pip version 19.0, however version 20.3.4 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n", "stderr_lines": ["DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.", "You are using pip version 19.0, however version 20.3.4 is available.", "You should consider upgrading via the 'pip install --upgrade pip' command."], "stdout": "Requirement already up-to-date: pip==19.0.0 in /usr/lib/python2.7/site-packages (19.0)\n", "stdout_lines": ["Requirement already up-to-date: pip==19.0.0 in /usr/lib/python2.7/site-packages (19.0)"], "version": null, "virtualenv": null}
  213.  
  214. TASK [bahmni-base : Check if setup tools is installed with required version] *******************************
  215. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:69
  216. changed: [localhost] => {"changed": true, "cmd": ["pip", "show", "setuptools", "|", "grep", "Version"], "delta": "0:00:01.001027", "end": "2021-12-18 22:30:38.152591", "failed": false, "rc": 0, "start": "2021-12-18 22:30:37.151564", "stderr": "DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.", "stderr_lines": ["DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7."], "stdout": "Name: setuptools\nVersion: 40.0.0\nSummary: Easily download, build, install, upgrade, and uninstall Python packages\nHome-page: https://github.com/pypa/setuptools\nAuthor: Python Packaging Authority\nAuthor-email: distutils-sig@python.org\nLicense: UNKNOWN\nLocation: /usr/lib/python2.7/site-packages\nRequires: \nRequired-by: cryptography, pydot, ansible", "stdout_lines": ["Name: setuptools", "Version: 40.0.0", "Summary: Easily download, build, install, upgrade, and uninstall Python packages", "Home-page: https://github.com/pypa/setuptools", "Author: Python Packaging Authority", "Author-email: distutils-sig@python.org", "License: UNKNOWN", "Location: /usr/lib/python2.7/site-packages", "Requires: ", "Required-by: cryptography, pydot, ansible"]}
  217.  
  218. TASK [bahmni-base : Upgrade setup tools to latest vesion] **************************************************
  219. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-base/tasks/main.yml:73
  220. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  221. setupToolsVersion.stdout.find("{{ odoo_setuptools_version }}") == -1
  222.  
  223. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  224.  
  225. TASK [bahmni-user : Create bahmni group] *******************************************************************
  226. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-user/tasks/main.yml:1
  227. ok: [localhost] => {"changed": false, "failed": false, "gid": 1001, "name": "bahmni", "state": "present", "system": false}
  228.  
  229. TASK [bahmni-user : Create bahmni user] ********************************************************************
  230. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-user/tasks/main.yml:7
  231. ok: [localhost] => {"append": false, "changed": false, "comment": "", "failed": false, "group": 1001, "home": "/home/bahmni", "move_home": false, "name": "bahmni", "shell": "/sbin/nologin", "state": "present", "uid": 1001}
  232.  
  233. TASK [bahmni-user : Remove shell access and set nologin for user] ******************************************
  234. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-user/tasks/main.yml:11
  235. changed: [localhost] => {"changed": true, "cmd": ["usermod", "-s", "/sbin/nologin", "bahmni"], "delta": "0:00:00.010605", "end": "2021-12-18 22:30:40.361265", "failed": false, "rc": 0, "start": "2021-12-18 22:30:40.350660", "stderr": "usermod: no changes", "stderr_lines": ["usermod: no changes"], "stdout": "", "stdout_lines": []}
  236.  
  237. TASK [installer-config : Fail if implementation name is not provided] **************************************
  238. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  239. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  240.  
  241. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  242. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  243. ok: [localhost] => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/etc/bahmni-installer", "size": 130, "state": "directory", "uid": 1001}
  244.  
  245. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  246. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  247. ok: [localhost] => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/etc/bahmni-installer/deployment-artifacts", "size": 21, "state": "directory", "uid": 1001}
  248.  
  249. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  250. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  251. ok: [localhost] => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/etc/bahmni-installer/atomfeed-backup", "size": 160, "state": "directory", "uid": 1001}
  252.  
  253. TASK [installer-config : add bahmni configuration file] ****************************************************
  254. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  255. ok: [localhost] => {"changed": false, "checksum": "fe7efd5c7f8c6d64e3b817093d6ef07fe3e180b4", "dest": "/etc/bahmni-installer/bahmni.conf", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/etc/bahmni-installer/bahmni.conf", "size": 429, "state": "file", "uid": 1001}
  256.  
  257. TASK [installer-config : Creating Module directory] ********************************************************
  258. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  259. ok: [localhost] => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/etc/bahmni-installer/deployment-artifacts/modules", "size": 6, "state": "directory", "uid": 1001}
  260.  
  261. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  262. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  263. [WARNING]: Consider using yum, dnf or zypper module rather than running rpm
  264.  
  265. changed: [localhost -> localhost] => {"changed": true, "cmd": ["rpm", "-q", "bahmni-installer", "--qf", "%{VERSION}-%{RELEASE}\\n"], "delta": "0:00:00.903943", "end": "2021-12-18 22:30:47.569609", "failed": false, "rc": 0, "start": "2021-12-18 22:30:46.665666", "stderr": "", "stderr_lines": [], "stdout": "0.93-197", "stdout_lines": ["0.93-197"]}
  266.  
  267. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  268. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  269. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-installer-0.93-197.noarch providing bahmni-installer-0.93-197 is already installed"]}
  270.  
  271. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  272. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  273. ok: [localhost] => {"ansible_facts": {"installer_config_role_ran": true}, "changed": false, "failed": false}
  274.  
  275. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  276. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  277. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  278.  
  279. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  280. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  281. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  282.  
  283. TASK [installer-config : Creating backrest log directory] **************************************************
  284. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  285. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  286.  
  287. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  288. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  289. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  290.  
  291. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  292. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  293. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  294.  
  295. TASK [bahmni-support-user : Create bahmni_support group] ***************************************************
  296. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-support-user/tasks/main.yml:1
  297. ok: [localhost] => {"changed": false, "failed": false, "gid": 1002, "name": "bahmni_support", "state": "present", "system": false}
  298.  
  299. TASK [bahmni-support-user : Create bahmni_support user] ****************************************************
  300. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-support-user/tasks/main.yml:7
  301. ok: [localhost] => {"append": false, "changed": false, "comment": "", "failed": false, "group": 1002, "home": "/home/bahmni_support", "move_home": false, "name": "bahmni_support", "password": "NOT_LOGGING_PASSWORD", "shell": "/bin/bash", "ssh_fingerprint": "2048 SHA256:F471Va4DgAyvqWVrdZT4MX0U9DGX1VewlIfWoAhZi9Y ansible-generated on localhost.localdomain (RSA)", "ssh_key_file": "/home/bahmni_support/.ssh/id_rsa", "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA2JjxJi/ouW4FcudKkdak0KA9MtYQFC8NebY94u0CYNGddYFaKSisy3+4Ijd7FhMctXOrOqT3oRwQycim8iYDnrMkIgplIZnXs97/6yGVt4FaOyFsJqFwfJ4lF7tsLCg/+cFRxCSfotk1EvKJE1lP5mAFuoxzex0hoE5HIWVjxtYshYKqfS6zxphYlDaT2msCS4qzRoTlYb2fbrxLIr03AHopPPfwONYjgh9Z7NGLWN3XwJlQlyHbDBNMxn1SAwQGF0H54Z8DpPBT32d/zbFLLStGQpotdEY7XkNgeSXymzwiuhkJ5i66njGOjzljv4RwIhwUcpbBnWgYDQr0u8/L ansible-generated on localhost.localdomain", "state": "present", "uid": 1002}
  302.  
  303. TASK [bahmni-support-user : configure sudoers] *************************************************************
  304. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-support-user/tasks/main.yml:17
  305. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  306.  
  307. TASK [bahmni-support-user : allow bahmni_support_group ssh access] *****************************************
  308. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-support-user/tasks/main.yml:21
  309. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  310.  
  311. TASK [bahmni-support-user : allow bahmni_support_user ssh access] ******************************************
  312. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-support-user/tasks/main.yml:32
  313. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  314.  
  315. TASK [bahmni-support-user : reload sshd] *******************************************************************
  316. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-support-user/tasks/main.yml:43
  317. changed: [localhost] => {"changed": true, "failed": false, "name": "sshd", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:38:44 IST", "ActiveEnterTimestampMonotonic": "56841282", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target sshd-keygen.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:42 IST", "AssertTimestampMonotonic": "55688374", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:42 IST", "ConditionTimestampMonotonic": "55688374", "ConflictedBy": "sshd.socket", "Conflicts": "shutdown.target", "ConsistsOf": "sshd-keygen.service", "ControlGroup": "/system.slice/sshd.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "OpenSSH server daemon", "DevicePolicy": "auto", "Documentation": "man:sshd(8) man:sshd_config(5)", "EnvironmentFile": "/etc/sysconfig/sshd (ignore_errors=no)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1109", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:43 IST", "ExecMainStartTimestampMonotonic": "55790975", "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/sbin/sshd ; argv[]=/usr/sbin/sshd -D $OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/sshd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "sshd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 18:38:43 IST", "InactiveExitTimestampMonotonic": "55791321", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1109", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "sshd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "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": "on-failure", "RestartUSec": "42s", "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": "1", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "sshd-keygen.service", "WatchdogTimestamp": "Sat 2021-12-18 18:38:44 IST", "WatchdogTimestampMonotonic": "56841243", "WatchdogUSec": "0"}}
  318.  
  319. TASK [iptables : install iptables-services] ****************************************************************
  320. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:5
  321. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["All packages providing iptables-services are up to date", ""]}
  322.  
  323. TASK [iptables : Start iptables Service] *******************************************************************
  324. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:10
  325. ok: [localhost] => {"changed": false, "enabled": true, "failed": false, "name": "iptables", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:38:26 IST", "ActiveEnterTimestampMonotonic": "39661207", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:18 IST", "AssertTimestampMonotonic": "30987334", "Before": "ip6tables.service network.service network-pre.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:18 IST", "ConditionTimestampMonotonic": "30987334", "ConflictedBy": "firewalld.service", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/iptables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "IPv4 firewall with iptables", "DevicePolicy": "auto", "Environment": "BOOTUP=serial CONSOLETYPE=serial", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2021-12-18 18:38:26 IST", "ExecMainExitTimestampMonotonic": "39660794", "ExecMainPID": "640", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:18 IST", "ExecMainStartTimestampMonotonic": "30988486", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/libexec/iptables/iptables.init ; argv[]=/usr/libexec/iptables/iptables.init reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/libexec/iptables/iptables.init ; argv[]=/usr/libexec/iptables/iptables.init start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/iptables/iptables.init ; argv[]=/usr/libexec/iptables/iptables.init stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/iptables.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "iptables.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 18:38:18 IST", "InactiveExitTimestampMonotonic": "30988599", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "iptables.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "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": "syslog", "StandardInput": "null", "StandardOutput": "syslog", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "0", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "basic.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  326.  
  327. TASK [iptables : get iptables rules] ***********************************************************************
  328. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:13
  329. changed: [localhost] => {"changed": true, "cmd": "iptables -L", "delta": "0:00:18.789280", "end": "2021-12-18 22:34:28.972153", "failed": false, "rc": 0, "start": "2021-12-18 22:34:10.182873", "stderr": "", "stderr_lines": [], "stdout": "Chain INPUT (policy DROP)\ntarget prot opt source destination \nACCEPT tcp -- anywhere anywhere tcp dpt:8069 /* BAHMNIERP */\nACCEPT tcp -- anywhere anywhere tcp dpt:postgres /* POSTGRES */\nACCEPT tcp -- anywhere anywhere tcp dpt:senomix01 /* BAHMNILAB */\nACCEPT tcp -- anywhere anywhere tcp dpt:rocrail /* BAHMNIREPORTS */\nACCEPT tcp -- anywhere anywhere tcp dpt:mysql /* MYSQL */\nACCEPT tcp -- anywhere anywhere tcp dpt:8050 /* OPENMRS */\nACCEPT tcp -- anywhere anywhere tcp dpt:https /* https */\nACCEPT tcp -- anywhere anywhere tcp dpt:http /* WEB SERVER */\nACCEPT udp -- anywhere anywhere udp dpt:domain\nACCEPT tcp -- anywhere anywhere tcp dpt:domain\nACCEPT udp -- anywhere anywhere udp dpt:bootps\nACCEPT tcp -- anywhere anywhere tcp dpt:bootps\nACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED\nACCEPT all -- anywhere anywhere \nINPUT_direct all -- anywhere anywhere \nINPUT_ZONES_SOURCE all -- anywhere anywhere \nINPUT_ZONES all -- anywhere anywhere \nDROP all -- anywhere anywhere ctstate INVALID\nREJECT all -- anywhere anywhere reject-with icmp-host-prohibited\nACCEPT tcp -- anywhere anywhere tcp dpt:ssh /* SSH */\n\nChain FORWARD (policy DROP)\ntarget prot opt source destination \nACCEPT all -- anywhere 192.168.122.0/24 ctstate RELATED,ESTABLISHED\nACCEPT all -- 192.168.122.0/24 anywhere \nACCEPT all -- anywhere anywhere \nREJECT all -- anywhere anywhere reject-with icmp-port-unreachable\nREJECT all -- anywhere anywhere reject-with icmp-port-unreachable\nACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED\nACCEPT all -- anywhere anywhere \nFORWARD_direct all -- anywhere anywhere \nFORWARD_IN_ZONES_SOURCE all -- anywhere anywhere \nFORWARD_IN_ZONES all -- anywhere anywhere \nFORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere \nFORWARD_OUT_ZONES all -- anywhere anywhere \nDROP all -- anywhere anywhere ctstate INVALID\nREJECT all -- anywhere anywhere reject-with icmp-host-prohibited\n\nChain OUTPUT (policy ACCEPT)\ntarget prot opt source destination \nACCEPT udp -- anywhere anywhere udp dpt:bootpc\nACCEPT all -- anywhere anywhere \nOUTPUT_direct all -- anywhere anywhere \n\nChain FORWARD_IN_ZONES (1 references)\ntarget prot opt source destination \nFWDI_public all -- anywhere anywhere [goto] \nFWDI_public all -- anywhere anywhere [goto] \n\nChain FORWARD_IN_ZONES_SOURCE (1 references)\ntarget prot opt source destination \n\nChain FORWARD_OUT_ZONES (1 references)\ntarget prot opt source destination \nFWDO_public all -- anywhere anywhere [goto] \nFWDO_public all -- anywhere anywhere [goto] \n\nChain FORWARD_OUT_ZONES_SOURCE (1 references)\ntarget prot opt source destination \n\nChain FORWARD_direct (1 references)\ntarget prot opt source destination \n\nChain FWDI_public (2 references)\ntarget prot opt source destination \nFWDI_public_log all -- anywhere anywhere \nFWDI_public_deny all -- anywhere anywhere \nFWDI_public_allow all -- anywhere anywhere \nACCEPT icmp -- anywhere anywhere \n\nChain FWDI_public_allow (1 references)\ntarget prot opt source destination \n\nChain FWDI_public_deny (1 references)\ntarget prot opt source destination \n\nChain FWDI_public_log (1 references)\ntarget prot opt source destination \n\nChain FWDO_public (2 references)\ntarget prot opt source destination \nFWDO_public_log all -- anywhere anywhere \nFWDO_public_deny all -- anywhere anywhere \nFWDO_public_allow all -- anywhere anywhere \n\nChain FWDO_public_allow (1 references)\ntarget prot opt source destination \n\nChain FWDO_public_deny (1 references)\ntarget prot opt source destination \n\nChain FWDO_public_log (1 references)\ntarget prot opt source destination \n\nChain INPUT_ZONES (1 references)\ntarget prot opt source destination \nIN_public all -- anywhere anywhere [goto] \nIN_public all -- anywhere anywhere [goto] \n\nChain INPUT_ZONES_SOURCE (1 references)\ntarget prot opt source destination \n\nChain INPUT_direct (1 references)\ntarget prot opt source destination \n\nChain IN_public (2 references)\ntarget prot opt source destination \nIN_public_log all -- anywhere anywhere \nIN_public_deny all -- anywhere anywhere \nIN_public_allow all -- anywhere anywhere \nACCEPT icmp -- anywhere anywhere \n\nChain IN_public_allow (1 references)\ntarget prot opt source destination \nACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW,UNTRACKED\n\nChain IN_public_deny (1 references)\ntarget prot opt source destination \n\nChain IN_public_log (1 references)\ntarget prot opt source destination \n\nChain OUTPUT_direct (1 references)\ntarget prot opt source destination ", "stdout_lines": ["Chain INPUT (policy DROP)", "target prot opt source destination ", "ACCEPT tcp -- anywhere anywhere tcp dpt:8069 /* BAHMNIERP */", "ACCEPT tcp -- anywhere anywhere tcp dpt:postgres /* POSTGRES */", "ACCEPT tcp -- anywhere anywhere tcp dpt:senomix01 /* BAHMNILAB */", "ACCEPT tcp -- anywhere anywhere tcp dpt:rocrail /* BAHMNIREPORTS */", "ACCEPT tcp -- anywhere anywhere tcp dpt:mysql /* MYSQL */", "ACCEPT tcp -- anywhere anywhere tcp dpt:8050 /* OPENMRS */", "ACCEPT tcp -- anywhere anywhere tcp dpt:https /* https */", "ACCEPT tcp -- anywhere anywhere tcp dpt:http /* WEB SERVER */", "ACCEPT udp -- anywhere anywhere udp dpt:domain", "ACCEPT tcp -- anywhere anywhere tcp dpt:domain", "ACCEPT udp -- anywhere anywhere udp dpt:bootps", "ACCEPT tcp -- anywhere anywhere tcp dpt:bootps", "ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED", "ACCEPT all -- anywhere anywhere ", "INPUT_direct all -- anywhere anywhere ", "INPUT_ZONES_SOURCE all -- anywhere anywhere ", "INPUT_ZONES all -- anywhere anywhere ", "DROP all -- anywhere anywhere ctstate INVALID", "REJECT all -- anywhere anywhere reject-with icmp-host-prohibited", "ACCEPT tcp -- anywhere anywhere tcp dpt:ssh /* SSH */", "", "Chain FORWARD (policy DROP)", "target prot opt source destination ", "ACCEPT all -- anywhere 192.168.122.0/24 ctstate RELATED,ESTABLISHED", "ACCEPT all -- 192.168.122.0/24 anywhere ", "ACCEPT all -- anywhere anywhere ", "REJECT all -- anywhere anywhere reject-with icmp-port-unreachable", "REJECT all -- anywhere anywhere reject-with icmp-port-unreachable", "ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED", "ACCEPT all -- anywhere anywhere ", "FORWARD_direct all -- anywhere anywhere ", "FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere ", "FORWARD_IN_ZONES all -- anywhere anywhere ", "FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere ", "FORWARD_OUT_ZONES all -- anywhere anywhere ", "DROP all -- anywhere anywhere ctstate INVALID", "REJECT all -- anywhere anywhere reject-with icmp-host-prohibited", "", "Chain OUTPUT (policy ACCEPT)", "target prot opt source destination ", "ACCEPT udp -- anywhere anywhere udp dpt:bootpc", "ACCEPT all -- anywhere anywhere ", "OUTPUT_direct all -- anywhere anywhere ", "", "Chain FORWARD_IN_ZONES (1 references)", "target prot opt source destination ", "FWDI_public all -- anywhere anywhere [goto] ", "FWDI_public all -- anywhere anywhere [goto] ", "", "Chain FORWARD_IN_ZONES_SOURCE (1 references)", "target prot opt source destination ", "", "Chain FORWARD_OUT_ZONES (1 references)", "target prot opt source destination ", "FWDO_public all -- anywhere anywhere [goto] ", "FWDO_public all -- anywhere anywhere [goto] ", "", "Chain FORWARD_OUT_ZONES_SOURCE (1 references)", "target prot opt source destination ", "", "Chain FORWARD_direct (1 references)", "target prot opt source destination ", "", "Chain FWDI_public (2 references)", "target prot opt source destination ", "FWDI_public_log all -- anywhere anywhere ", "FWDI_public_deny all -- anywhere anywhere ", "FWDI_public_allow all -- anywhere anywhere ", "ACCEPT icmp -- anywhere anywhere ", "", "Chain FWDI_public_allow (1 references)", "target prot opt source destination ", "", "Chain FWDI_public_deny (1 references)", "target prot opt source destination ", "", "Chain FWDI_public_log (1 references)", "target prot opt source destination ", "", "Chain FWDO_public (2 references)", "target prot opt source destination ", "FWDO_public_log all -- anywhere anywhere ", "FWDO_public_deny all -- anywhere anywhere ", "FWDO_public_allow all -- anywhere anywhere ", "", "Chain FWDO_public_allow (1 references)", "target prot opt source destination ", "", "Chain FWDO_public_deny (1 references)", "target prot opt source destination ", "", "Chain FWDO_public_log (1 references)", "target prot opt source destination ", "", "Chain INPUT_ZONES (1 references)", "target prot opt source destination ", "IN_public all -- anywhere anywhere [goto] ", "IN_public all -- anywhere anywhere [goto] ", "", "Chain INPUT_ZONES_SOURCE (1 references)", "target prot opt source destination ", "", "Chain INPUT_direct (1 references)", "target prot opt source destination ", "", "Chain IN_public (2 references)", "target prot opt source destination ", "IN_public_log all -- anywhere anywhere ", "IN_public_deny all -- anywhere anywhere ", "IN_public_allow all -- anywhere anywhere ", "ACCEPT icmp -- anywhere anywhere ", "", "Chain IN_public_allow (1 references)", "target prot opt source destination ", "ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW,UNTRACKED", "", "Chain IN_public_deny (1 references)", "target prot opt source destination ", "", "Chain IN_public_log (1 references)", "target prot opt source destination ", "", "Chain OUTPUT_direct (1 references)", "target prot opt source destination "]}
  330.  
  331. TASK [iptables : Allow Input ACCEPT] ***********************************************************************
  332. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:18
  333. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-P", "INPUT", "ACCEPT"], "delta": "0:00:00.007593", "end": "2021-12-18 22:34:29.337497", "failed": false, "rc": 0, "start": "2021-12-18 22:34:29.329904", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  334.  
  335. TASK [iptables : Allow localhost interface] ****************************************************************
  336. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:21
  337. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  338.  
  339. TASK [iptables : Allow Established] ************************************************************************
  340. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:25
  341. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  342.  
  343. TASK [iptables : Allow SSH] ********************************************************************************
  344. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:29
  345. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  346.  
  347. TASK [iptables : DROP ALL Incoming connections except those which are marked as ACCEPT] ********************
  348. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:33
  349. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-P", "INPUT", "DROP"], "delta": "0:00:00.007691", "end": "2021-12-18 22:34:29.804700", "failed": false, "rc": 0, "start": "2021-12-18 22:34:29.797009", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  350.  
  351. TASK [iptables : DROP all Forwards] ************************************************************************
  352. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:36
  353. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-P", "FORWARD", "DROP"], "delta": "0:00:00.010306", "end": "2021-12-18 22:34:30.494702", "failed": false, "rc": 0, "start": "2021-12-18 22:34:30.484396", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  354.  
  355. TASK [iptables : Allow all output] *************************************************************************
  356. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:39
  357. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-P", "OUTPUT", "ACCEPT"], "delta": "0:00:00.008882", "end": "2021-12-18 22:34:30.814658", "failed": false, "rc": 0, "start": "2021-12-18 22:34:30.805776", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  358.  
  359. TASK [iptables : Save the changes] *************************************************************************
  360. task path: /opt/bahmni-installer/bahmni-playbooks/roles/iptables/tasks/main.yml:42
  361. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.523223", "end": "2021-12-18 22:34:31.720583", "failed": false, "rc": 0, "start": "2021-12-18 22:34:31.197360", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  362. META: ran handlers
  363. META: ran handlers
  364. [WARNING]: Could not match supplied host pattern, ignoring: bahmni-emr-db-slave
  365.  
  366.  
  367. PLAY [bahmni-emr-db,bahmni-emr-db-slave] *******************************************************************
  368. META: ran handlers
  369.  
  370. TASK [installer-config : Fail if implementation name is not provided] **************************************
  371. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  372. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  373.  
  374. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  375. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  376. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  377.  
  378. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  379. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  380. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  381.  
  382. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  383. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  384. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  385.  
  386. TASK [installer-config : add bahmni configuration file] ****************************************************
  387. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  388. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  389.  
  390. TASK [installer-config : Creating Module directory] ********************************************************
  391. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  392. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  393.  
  394. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  395. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  396. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  397.  
  398. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  399. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  400. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  401.  
  402. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  403. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  404. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  405.  
  406. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  407. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  408. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  409.  
  410. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  411. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  412. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  413.  
  414. TASK [installer-config : Creating backrest log directory] **************************************************
  415. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  416. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  417.  
  418. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  419. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  420. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  421.  
  422. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  423. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  424. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  425.  
  426. TASK [mysql : add mysql 5.6 yum repo] **********************************************************************
  427. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:1
  428. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  429. {{ '5.6' in mysql_version }}
  430.  
  431. ok: [localhost] => {"changed": false, "checksum": "ab75dd093df3039636eb776b4585f6e3c9d813b0", "dest": "/etc/yum.repos.d/mysql56.repo", "failed": false, "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/mysql56.repo", "size": 191, "state": "file", "uid": 0}
  432.  
  433. TASK [mysql : Install python mysql for ansible] ************************************************************
  434. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:6
  435. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  436. {{ '5.6' in mysql_version }}
  437.  
  438. ok: [localhost] => (item=[u'mysql-community-common-5.6.48', u'mysql-community-libs-5.6.48', u'MySQL-python']) => {"changed": false, "failed": false, "item": ["mysql-community-common-5.6.48", "mysql-community-libs-5.6.48", "MySQL-python"], "msg": "", "rc": 0, "results": ["mysql-community-common-5.6.48-2.el7.x86_64 providing mysql-community-common-5.6.48 is already installed", "mysql-community-libs-5.6.48-2.el7.x86_64 providing mysql-community-libs-5.6.48 is already installed", "MySQL-python-1.2.5-1.el7.x86_64 providing MySQL-python is already installed"]}
  439.  
  440. TASK [mysql : Check if any version of mysql is present] ****************************************************
  441. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:13
  442. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  443. {{ '5.6' in mysql_version }}
  444.  
  445. changed: [localhost] => {"changed": true, "cmd": ["mysql", "--version"], "delta": "0:00:00.389421", "end": "2021-12-18 22:34:55.223878", "failed": false, "rc": 0, "start": "2021-12-18 22:34:54.834457", "stderr": "", "stderr_lines": [], "stdout": "mysql Ver 14.14 Distrib 5.6.48, for Linux (x86_64) using EditLine wrapper", "stdout_lines": ["mysql Ver 14.14 Distrib 5.6.48, for Linux (x86_64) using EditLine wrapper"]}
  446.  
  447. TASK [mysql : Uninstall MySQL if 5.6.48 is absent] *********************************************************
  448. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:18
  449. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  450. {{ '5.6' in mysql_version }}
  451.  
  452. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  453. mysqlVersion|success and mysqlVersion.stdout.find('{{mysql_version}}') == -1
  454.  
  455. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  456.  
  457. TASK [mysql : Install mysql from mysql5.6.48 yum repository] ***********************************************
  458. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:25
  459. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  460. {{ '5.6' in mysql_version }}
  461.  
  462. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  463. mysqlVersion|failed or mysqlVersion.stdout.find('{{mysql_version}}') == -1
  464.  
  465. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  466.  
  467. TASK [mysql : Create /var/log/mysql directory to store binlogs if it does not exist] ***********************
  468. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:35
  469. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  470. {{ '5.6' in mysql_version }}
  471.  
  472. ok: [localhost] => {"changed": false, "failed": false, "gid": 27, "group": "mysql", "mode": "0755", "owner": "mysql", "path": "/var/log/mysql", "size": 6, "state": "directory", "uid": 27}
  473.  
  474. TASK [mysql : Copy mysql config for mysql 5.6] *************************************************************
  475. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:38
  476. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  477. {{ '5.6' in mysql_version }}
  478.  
  479. ok: [localhost] => {"changed": false, "checksum": "0faae35fc06ec09d882ce7a2537be2fc886be3c0", "dest": "/etc/my.cnf", "failed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/my.cnf", "size": 515, "state": "file", "uid": 0}
  480.  
  481. TASK [mysql : Stop Mysql Service] **************************************************************************
  482. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:46
  483. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  484. {{ '5.6' in mysql_version }}
  485.  
  486. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  487.  
  488. TASK [mysql : Start Mysql Service] *************************************************************************
  489. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:50
  490. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  491. {{ '5.6' in mysql_version }}
  492.  
  493. ok: [localhost] => {"changed": false, "enabled": true, "failed": false, "name": "mysqld", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:39:31 IST", "ActiveEnterTimestampMonotonic": "95707691", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target syslog.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:42 IST", "AssertTimestampMonotonic": "55678620", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:42 IST", "ConditionTimestampMonotonic": "55678620", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mysqld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "MySQL Community Server", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1899", "ExecMainStartTimestamp": "Sat 2021-12-18 18:39:26 IST", "ExecMainStartTimestampMonotonic": "90189581", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/mysqld_safe ; argv[]=/usr/bin/mysqld_safe --basedir=/usr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPost": "{ path=/usr/bin/mysql-systemd-start ; argv[]=/usr/bin/mysql-systemd-start post ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/bin/mysql-systemd-start ; argv[]=/usr/bin/mysql-systemd-start pre ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mysqld.service", "Group": "mysql", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mysqld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 18:38:42 IST", "InactiveExitTimestampMonotonic": "55681525", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1899", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mysqld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "yes", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "always", "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": "40", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "10min", "TimeoutStopUSec": "10min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mysql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:39:26 IST", "WatchdogTimestampMonotonic": "90189626", "WatchdogUSec": "0"}}
  494.  
  495. TASK [mysql : Update mysql root password for mysql 5.6] ****************************************************
  496. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:53
  497. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  498. {{ '5.6' in mysql_version }}
  499.  
  500. ok: [localhost] => {"changed": false, "failed": false, "user": "root"}
  501.  
  502. TASK [mysql : Get matched IpTable rule] ********************************************************************
  503. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:63
  504. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  505. {{ '5.6' in mysql_version }}
  506.  
  507. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep MYSQL -m 1 | cut -c 1-2", "delta": "0:00:00.078729", "end": "2021-12-18 22:34:59.270033", "failed": false, "rc": 0, "start": "2021-12-18 22:34:59.191304", "stderr": "", "stderr_lines": [], "stdout": "5 ", "stdout_lines": ["5 "]}
  508.  
  509. TASK [mysql : delete matching rule if exists] **************************************************************
  510. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:67
  511. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  512. {{ '5.6' in mysql_version }}
  513.  
  514. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 5 ", "delta": "0:00:00.011441", "end": "2021-12-18 22:34:59.612423", "failed": false, "rc": 0, "start": "2021-12-18 22:34:59.600982", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  515.  
  516. TASK [mysql : Allow mysql port through firewall] ***********************************************************
  517. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:71
  518. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  519. {{ '5.6' in mysql_version }}
  520.  
  521. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "3306", "-j", "ACCEPT", "-m", "comment", "--comment", "MYSQL"], "delta": "0:00:00.055044", "end": "2021-12-18 22:35:00.405183", "failed": false, "rc": 0, "start": "2021-12-18 22:35:00.350139", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  522.  
  523. TASK [mysql : save iptables] *******************************************************************************
  524. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:74
  525. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  526. {{ '5.6' in mysql_version }}
  527.  
  528. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.129915", "end": "2021-12-18 22:35:01.032972", "failed": false, "rc": 0, "start": "2021-12-18 22:35:00.903057", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  529.  
  530. TASK [mysql : add mysql 5.7 yum repo] **********************************************************************
  531. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:1
  532. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  533. {{ '5.7' in mysql_version }}
  534.  
  535. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  536.  
  537. TASK [mysql : Install python mysql for ansible] ************************************************************
  538. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:6
  539. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  540. {{ '5.7' in mysql_version }}
  541.  
  542. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  543.  
  544. TASK [mysql : Check if any version of mysql is present] ****************************************************
  545. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:14
  546. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  547. {{ '5.7' in mysql_version }}
  548.  
  549. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  550.  
  551. TASK [mysql : Uninstall MySQL if 5.6.48 is absent] *********************************************************
  552. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:19
  553. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  554. {{ '5.7' in mysql_version }}
  555.  
  556. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  557.  
  558. TASK [mysql : Install mysql from mysql5.6.48 yum repository] ***********************************************
  559. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:26
  560. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  561. {{ '5.7' in mysql_version }}
  562.  
  563. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  564.  
  565. TASK [mysql : Create /var/log/mysql directory to store binlogs if it does not exist] ***********************
  566. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:37
  567. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  568. {{ '5.7' in mysql_version }}
  569.  
  570. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  571.  
  572. TASK [mysql : Copy mysql config for mysql 5.7] *************************************************************
  573. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:40
  574. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  575. {{ '5.7' in mysql_version }}
  576.  
  577. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  578.  
  579. TASK [mysql : Stop Mysql Service] **************************************************************************
  580. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:48
  581. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  582. {{ '5.7' in mysql_version }}
  583.  
  584. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  585.  
  586. TASK [mysql : Start Mysql Service] *************************************************************************
  587. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:52
  588. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  589. {{ '5.7' in mysql_version }}
  590.  
  591. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  592.  
  593. TASK [mysql : Retrieve the temp mysql root password] *******************************************************
  594. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:55
  595. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  596. {{ '5.7' in mysql_version }}
  597.  
  598. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  599.  
  600. TASK [mysql : Update mysql root password with temp password] ***********************************************
  601. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:60
  602. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  603. {{ '5.7' in mysql_version }}
  604.  
  605. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  606.  
  607. TASK [mysql : Update mysql root password] ******************************************************************
  608. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:66
  609. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  610. {{ '5.7' in mysql_version }}
  611.  
  612. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  613.  
  614. TASK [mysql : Upgrade Mysql] *******************************************************************************
  615. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:70
  616. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  617. {{ '5.7' in mysql_version }}
  618.  
  619. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  620.  
  621. TASK [mysql : Restart Mysql Service] ***********************************************************************
  622. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:74
  623. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  624. {{ '5.7' in mysql_version }}
  625.  
  626. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  627.  
  628. TASK [mysql : set mysql_role_ran fact] *********************************************************************
  629. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:77
  630. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  631. {{ '5.7' in mysql_version }}
  632.  
  633. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  634.  
  635. TASK [mysql : Get matched IpTable rule] ********************************************************************
  636. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:82
  637. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  638. {{ '5.7' in mysql_version }}
  639.  
  640. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  641.  
  642. TASK [mysql : delete matching rule if exists] **************************************************************
  643. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:86
  644. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  645. {{ '5.7' in mysql_version }}
  646.  
  647. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  648.  
  649. TASK [mysql : Allow mysql port through firewall] ***********************************************************
  650. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:90
  651. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  652. {{ '5.7' in mysql_version }}
  653.  
  654. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  655.  
  656. TASK [mysql : save iptables] *******************************************************************************
  657. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:93
  658. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  659. {{ '5.7' in mysql_version }}
  660.  
  661. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  662. META: ran handlers
  663. META: ran handlers
  664.  
  665. PLAY [bahmni-emr-db] ***************************************************************************************
  666. META: ran handlers
  667.  
  668. TASK [mysql-users : ensure anonymous users are not in the database] ****************************************
  669. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:1
  670. ok: [localhost] => {"changed": false, "failed": false, "user": ""}
  671.  
  672. TASK [mysql-users : Create and grant privileges to db user on localhost] ***********************************
  673. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:8
  674. ok: [localhost] => {"changed": false, "failed": false, "user": "openmrs-user"}
  675.  
  676. TASK [mysql-users : Create and grant privileges to db user from app server] ********************************
  677. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:18
  678. ok: [localhost] => (item=localhost) => {"changed": false, "failed": false, "item": "localhost", "user": "openmrs-user"}
  679.  
  680. TASK [mysql-users : Create and grant privileges to root user from app server] ******************************
  681. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:29
  682. ok: [localhost] => (item=localhost) => {"changed": false, "failed": false, "item": "localhost", "user": "root"}
  683.  
  684. TASK [mysql-users : ensure anonymous users are not in the database] ****************************************
  685. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:1
  686. ok: [localhost] => {"changed": false, "failed": false, "user": ""}
  687.  
  688. TASK [mysql-users : Create and grant privileges to db user on localhost] ***********************************
  689. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:8
  690. ok: [localhost] => {"changed": false, "failed": false, "user": "openmrs-user"}
  691.  
  692. TASK [mysql-users : Create and grant privileges to db user from app server] ********************************
  693. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:18
  694. ok: [localhost] => (item=localhost) => {"changed": false, "failed": false, "item": "localhost", "user": "openmrs-user"}
  695.  
  696. TASK [mysql-users : Create and grant privileges to root user from app server] ******************************
  697. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:29
  698. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  699. META: ran handlers
  700. META: ran handlers
  701.  
  702. PLAY [bahmni-emr] ******************************************************************************************
  703. META: ran handlers
  704.  
  705. TASK [httpd : Install Apache server from yum repository] ***************************************************
  706. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:1
  707. ok: [localhost] => (item=[u'httpd', u'mod_ssl', u'mod_wsgi']) => {"changed": false, "failed": false, "item": ["httpd", "mod_ssl", "mod_wsgi"], "msg": "", "rc": 0, "results": ["httpd-2.4.6-97.el7.centos.2.x86_64 providing httpd is already installed", "1:mod_ssl-2.4.6-97.el7.centos.2.x86_64 providing mod_ssl is already installed", "mod_wsgi-3.4-18.el7.x86_64 providing mod_wsgi is already installed"]}
  708.  
  709. TASK [httpd : Get matched IpTable rule] ********************************************************************
  710. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:10
  711. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep \"WEB SERVER\" -m 1 | cut -c 1-2", "delta": "0:00:00.015938", "end": "2021-12-18 22:35:08.851985", "failed": false, "rc": 0, "start": "2021-12-18 22:35:08.836047", "stderr": "", "stderr_lines": [], "stdout": "8 ", "stdout_lines": ["8 "]}
  712.  
  713. TASK [httpd : delete matching rule if exists] **************************************************************
  714. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:14
  715. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 8 ", "delta": "0:00:00.009764", "end": "2021-12-18 22:35:09.405186", "failed": false, "rc": 0, "start": "2021-12-18 22:35:09.395422", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  716.  
  717. TASK [httpd : Allow port 80 through firewall] **************************************************************
  718. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:18
  719. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "80", "-j", "ACCEPT", "-m", "comment", "--comment", "WEB SERVER"], "delta": "0:00:00.008770", "end": "2021-12-18 22:35:09.791501", "failed": false, "rc": 0, "start": "2021-12-18 22:35:09.782731", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  720.  
  721. TASK [httpd : save iptables] *******************************************************************************
  722. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:21
  723. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.051132", "end": "2021-12-18 22:35:10.232589", "failed": false, "rc": 0, "start": "2021-12-18 22:35:10.181457", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  724.  
  725. TASK [httpd : Get matched IpTable rule] ********************************************************************
  726. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:24
  727. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep https -m 1 | cut -c 1-2", "delta": "0:00:00.031905", "end": "2021-12-18 22:35:10.718714", "failed": false, "rc": 0, "start": "2021-12-18 22:35:10.686809", "stderr": "", "stderr_lines": [], "stdout": "8 ", "stdout_lines": ["8 "]}
  728.  
  729. TASK [httpd : delete matching rule if exists] **************************************************************
  730. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:28
  731. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 8 ", "delta": "0:00:00.016309", "end": "2021-12-18 22:35:11.121894", "failed": false, "rc": 0, "start": "2021-12-18 22:35:11.105585", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  732.  
  733. TASK [httpd : Allow port 443 through firewall] *************************************************************
  734. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:32
  735. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "443", "-j", "ACCEPT", "-m", "comment", "--comment", "https"], "delta": "0:00:00.009809", "end": "2021-12-18 22:35:11.519150", "failed": false, "rc": 0, "start": "2021-12-18 22:35:11.509341", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  736.  
  737. TASK [httpd : save iptables] *******************************************************************************
  738. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:35
  739. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.048564", "end": "2021-12-18 22:35:11.936658", "failed": false, "rc": 0, "start": "2021-12-18 22:35:11.888094", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  740.  
  741. TASK [httpd : create bahmni-certs directory] ***************************************************************
  742. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:40
  743. ok: [localhost] => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/etc/bahmni-certs", "size": 59, "state": "directory", "uid": 1001}
  744.  
  745. TASK [httpd : check if certificate already points to letsencrypt] ******************************************
  746. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:43
  747. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833705.7122152, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1639702700.729819, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17877410, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/etc/pki/tls/certs/localhost.crt", "lnk_target": "/etc/pki/tls/certs/localhost.crt", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1639702700.729819, "nlink": 1, "path": "/etc/bahmni-certs/cert.crt", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 32, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  748.  
  749. TASK [httpd : link local certificate and domain key] *******************************************************
  750. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:47
  751. skipping: [localhost] => (item={u'dest': u'/etc/bahmni-certs/cert.crt', u'src': u'/etc/pki/tls/certs/localhost.crt'}) => {"changed": false, "item": {"dest": "/etc/bahmni-certs/cert.crt", "src": "/etc/pki/tls/certs/localhost.crt"}, "skip_reason": "Conditional result was False", "skipped": true}
  752. skipping: [localhost] => (item={u'dest': u'/etc/bahmni-certs/chained.pem', u'src': u'/etc/pki/tls/certs/localhost.crt'}) => {"changed": false, "item": {"dest": "/etc/bahmni-certs/chained.pem", "src": "/etc/pki/tls/certs/localhost.crt"}, "skip_reason": "Conditional result was False", "skipped": true}
  753. skipping: [localhost] => (item={u'dest': u'/etc/bahmni-certs/domain.key', u'src': u'/etc/pki/tls/private/localhost.key'}) => {"changed": false, "item": {"dest": "/etc/bahmni-certs/domain.key", "src": "/etc/pki/tls/private/localhost.key"}, "skip_reason": "Conditional result was False", "skipped": true}
  754.  
  755. TASK [httpd : Switch off chkconfig for httpd on passive] ***************************************************
  756. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:55
  757. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  758.  
  759. TASK [httpd : Stop httpd] **********************************************************************************
  760. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:59
  761. changed: [localhost] => {"changed": true, "failed": false, "name": "httpd", "state": "stopped", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:28:29 IST", "ActiveEnterTimestampMonotonic": "3033279001", "ActiveExitTimestamp": "Sat 2021-12-18 19:28:27 IST", "ActiveExitTimestampMonotonic": "3031161417", "ActiveState": "active", "After": "basic.target nss-lookup.target system.slice network.target tmp.mount systemd-journald.socket -.mount remote-fs.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:28:28 IST", "AssertTimestampMonotonic": "3032785947", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:28:28 IST", "ConditionTimestampMonotonic": "3032785947", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/httpd.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "The Apache HTTP Server", "DevicePolicy": "auto", "Documentation": "man:httpd(8) man:apachectl(8)", "EnvironmentFile": "/etc/sysconfig/httpd (ignore_errors=no)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14426", "ExecMainStartTimestamp": "Sat 2021-12-18 19:28:28 IST", "ExecMainStartTimestampMonotonic": "3032786649", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/httpd ; argv[]=/usr/sbin/httpd $OPTIONS -k graceful ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/httpd ; argv[]=/usr/sbin/httpd $OPTIONS -DFOREGROUND ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/bin/kill ; argv[]=/bin/kill -WINCH ${MAINPID} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/httpd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "httpd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 19:28:28 IST", "InactiveEnterTimestampMonotonic": "3032289800", "InactiveExitTimestamp": "Sat 2021-12-18 19:28:28 IST", "InactiveExitTimestampMonotonic": "3032786684", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "18", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14426", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "httpd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/tmp", "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", "StatusText": "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "12", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 19:28:29 IST", "WatchdogTimestampMonotonic": "3033278966", "WatchdogUSec": "0"}}
  762.  
  763. TASK [httpd : Start httpd] *********************************************************************************
  764. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:65
  765. changed: [localhost] => {"changed": true, "enabled": true, "failed": false, "name": "httpd", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:28:29 IST", "ActiveEnterTimestampMonotonic": "3033279001", "ActiveExitTimestamp": "Sat 2021-12-18 22:35:13 IST", "ActiveExitTimestampMonotonic": "14237572853", "ActiveState": "inactive", "After": "basic.target nss-lookup.target system.slice network.target tmp.mount systemd-journald.socket -.mount remote-fs.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:28:28 IST", "AssertTimestampMonotonic": "3032785947", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:28:28 IST", "ConditionTimestampMonotonic": "3032785947", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "The Apache HTTP Server", "DevicePolicy": "auto", "Documentation": "man:httpd(8) man:apachectl(8)", "EnvironmentFile": "/etc/sysconfig/httpd (ignore_errors=no)", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2021-12-18 22:35:18 IST", "ExecMainExitTimestampMonotonic": "14242737169", "ExecMainPID": "14426", "ExecMainStartTimestamp": "Sat 2021-12-18 19:28:28 IST", "ExecMainStartTimestampMonotonic": "3032786649", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/httpd ; argv[]=/usr/sbin/httpd $OPTIONS -k graceful ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/httpd ; argv[]=/usr/sbin/httpd $OPTIONS -DFOREGROUND ; ignore_errors=no ; start_time=[Sat 2021-12-18 19:28:28 IST] ; stop_time=[Sat 2021-12-18 22:35:18 IST] ; pid=14426 ; code=exited ; status=0 }", "ExecStop": "{ path=/bin/kill ; argv[]=/bin/kill -WINCH ${MAINPID} ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:35:13 IST] ; stop_time=[Sat 2021-12-18 22:35:13 IST] ; pid=9371 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/httpd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "httpd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 22:35:18 IST", "InactiveEnterTimestampMonotonic": "14242737276", "InactiveExitTimestamp": "Sat 2021-12-18 19:28:28 IST", "InactiveExitTimestampMonotonic": "3032786684", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "18", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "httpd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/tmp", "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", "StatusText": "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  766.  
  767. TASK [httpd : Add landing page html file] ******************************************************************
  768. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:71
  769. ok: [localhost] => {"changed": false, "checksum": "946769eb5f1059c53a7c96f0517415edf812fdad", "dest": "/var/www/html/index.html", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/var/www/html/index.html", "size": 16807, "state": "file", "uid": 1001}
  770.  
  771. TASK [httpd : Create /var/www/bahmni_revisions] ************************************************************
  772. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:79
  773. ok: [localhost] => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/var/www/bahmni_revisions", "size": 115, "state": "directory", "uid": 1001}
  774.  
  775. TASK [httpd : Copy openmrs revision file] ******************************************************************
  776. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:82
  777. ok: [localhost] => {"changed": false, "checksum": "93f2ca93e15e477b0a0346d9505ee15d78199f94", "dest": "/var/www/bahmni_revisions/./bahmni_openmrs_revision.json", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/var/www/bahmni_revisions/./bahmni_openmrs_revision.json", "size": 711, "state": "file", "uid": 1001}
  778.  
  779. TASK [httpd : Copy openerp revision file] ******************************************************************
  780. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:90
  781. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  782. {{ groups['bahmni-erp'] | length }} > 0
  783.  
  784. ok: [localhost] => {"changed": false, "checksum": "1636d8b37d904349176b64880a0c36d69d738850", "dest": "/var/www/bahmni_revisions/./bahmni_openerp_revision.json", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/var/www/bahmni_revisions/./bahmni_openerp_revision.json", "size": 409, "state": "file", "uid": 1001}
  785.  
  786. TASK [httpd : Copy openelis revision file] *****************************************************************
  787. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:99
  788. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  789. {{ groups['bahmni-lab'] | length }} > 0
  790.  
  791. ok: [localhost] => {"changed": false, "checksum": "45a1e90ccfcd6558b95282be881d01b545f647ee", "dest": "/var/www/bahmni_revisions/./bahmni_openelis_revision.json", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/var/www/bahmni_revisions/./bahmni_openelis_revision.json", "size": 198, "state": "file", "uid": 1001}
  792.  
  793. TASK [httpd : Uninstall bahmni-certs rpm] ******************************************************************
  794. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:108
  795. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-certs is not installed"]}
  796.  
  797. TASK [httpd : Remove ssl.conf] *****************************************************************************
  798. task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:111
  799. changed: [localhost] => {"changed": true, "failed": false, "path": "/etc/httpd/conf.d/ssl.conf", "state": "absent"}
  800.  
  801. TASK [oracle-java : check if java is already downloaded] ***************************************************
  802. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:1
  803. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833713.589164, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 115664, "charset": "binary", "checksum": "ff4df7cd19874431a4b589162fedca6d28aa4268", "ctime": 1639707941.1612833, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1701994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "ebebfd327e67c4bbe47dabe6b9f6e961", "mimetype": "application/x-rpm", "mode": "0644", "mtime": 1489606686.0, "nlink": 1, "path": "/opt/jre-8u131-linux-x64.rpm", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 59216092, "uid": 0, "version": "972569513", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
  804.  
  805. TASK [oracle-java : set_fact] ******************************************************************************
  806. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:5
  807. ok: [localhost] => {"ansible_facts": {"force_new_java_download": false}, "changed": false, "failed": false}
  808.  
  809. TASK [oracle-java : Delete java rpm if checksum does not match] ********************************************
  810. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:9
  811. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  812. {{ force_new_java_download == true }}
  813.  
  814. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  815.  
  816. TASK [oracle-java : Download Java] *************************************************************************
  817. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:13
  818. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  819. {{ downloaded_java.stat.exists == false }} or {{ force_new_java_download == true }}
  820.  
  821. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  822.  
  823. TASK [oracle-java : install oracle java rpm] ***************************************************************
  824. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:17
  825. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["jre1.8.0_131-1.8.0_131-fcs.x86_64 providing /opt/jre-8u131-linux-x64.rpm is already installed"]}
  826.  
  827. TASK [oracle-java : Make java available for system] ********************************************************
  828. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:20
  829. changed: [localhost] => {"changed": true, "cmd": ["alternatives", "--install", "/usr/bin/java", "java", "/usr/java/default/bin/java", "2000"], "delta": "0:00:00.651609", "end": "2021-12-18 22:35:34.754705", "failed": false, "rc": 0, "start": "2021-12-18 22:35:34.103096", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  830.  
  831. TASK [oracle-java : Make javac available for system] *******************************************************
  832. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:23
  833. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  834.  
  835. TASK [oracle-java : Make jar available for system] *********************************************************
  836. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:27
  837. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  838.  
  839. TASK [oracle-java : Set the JAVA_HOME variable] ************************************************************
  840. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:31
  841. ok: [localhost] => {"ansible_facts": {"_raw_params": "java_home = \"/usr/java/jre1.8.0_131\""}, "changed": false, "failed": false}
  842.  
  843. TASK [oracle-java : set java_role_ran fact] ****************************************************************
  844. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:34
  845. ok: [localhost] => {"ansible_facts": {"java_role_ran": true}, "changed": false, "failed": false}
  846.  
  847. TASK [installer-config : Fail if implementation name is not provided] **************************************
  848. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  849. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  850.  
  851. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  852. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  853. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  854.  
  855. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  856. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  857. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  858.  
  859. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  860. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  861. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  862.  
  863. TASK [installer-config : add bahmni configuration file] ****************************************************
  864. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  865. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  866.  
  867. TASK [installer-config : Creating Module directory] ********************************************************
  868. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  869. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  870.  
  871. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  872. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  873. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  874.  
  875. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  876. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  877. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  878.  
  879. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  880. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  881. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  882.  
  883. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  884. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  885. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  886.  
  887. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  888. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  889. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  890.  
  891. TASK [installer-config : Creating backrest log directory] **************************************************
  892. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  893. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  894.  
  895. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  896. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  897. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  898.  
  899. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  900. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  901. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  902.  
  903. TASK [bahmni-emr : add mysql 5.6 yum repo] *****************************************************************
  904. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:1
  905. changed: [localhost] => {"changed": true, "checksum": "7ab61f6c5059e614e8aaa847381f73193a81e6b1", "dest": "/etc/yum.repos.d/mysql56.repo", "failed": false, "gid": 0, "group": "root", "md5sum": "127b93a2c97a51d30b90c142dcb80c2e", "mode": "0644", "owner": "root", "size": 189, "src": "/root/.ansible/tmp/ansible-tmp-1639847137.03-37655442809497/source", "state": "file", "uid": 0}
  906.  
  907. TASK [bahmni-emr : add mysql 5.7 yum repo] *****************************************************************
  908. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:6
  909. ok: [localhost] => {"changed": false, "checksum": "eac70e38918d932f6c50c6db11f18f6a9e40de54", "dest": "/etc/yum.repos.d/mysql57.repo", "failed": false, "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/mysql57.repo", "size": 189, "state": "file", "uid": 0}
  910.  
  911. TASK [bahmni-emr : Uninstall openmrs rpm] ******************************************************************
  912. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:11
  913. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["openmrs is not installed"]}
  914.  
  915. TASK [bahmni-emr : Uninstall two factor authentication rpm] ************************************************
  916. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:16
  917. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-two-factor-auth is not installed"]}
  918.  
  919. TASK [bahmni-emr : Check if bahmni-emr rpm needs an update] ************************************************
  920. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:19
  921. [WARNING]: Consider using yum module rather than running yum
  922.  
  923. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-emr"], "delta": "0:00:01.995054", "end": "2021-12-18 22:35:43.510552", "failed": false, "rc": 0, "start": "2021-12-18 22:35:41.515498", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-emr.noarch 0.93-131 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-emr.noarch 0.93-131 @bahmni"]}
  924.  
  925. TASK [bahmni-emr : Uninstall bahmni-emr rpm] ***************************************************************
  926. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:24
  927. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  928. installed_bahmni_emr.stdout.find("{{ bahmni_emr_version }}") == -1
  929.  
  930. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  931.  
  932. TASK [bahmni-emr : Check if openmrs database dump is provided in /etc/bahmni-installer/deployment-artifacts] ***
  933. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:28
  934. ok: [localhost -> localhost] => {"changed": false, "failed": false, "stat": {"exists": false}}
  935.  
  936. TASK [bahmni-emr : Copy file to remote location if it is available] ****************************************
  937. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:32
  938. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  939.  
  940. TASK [bahmni-emr : Install openmrs database dump if provided and database does not exist] ******************
  941. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:40
  942. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  943.  
  944. TASK [bahmni-emr : Install bahmni-emr from bahmni-repo] ****************************************************
  945. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:45
  946. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-emr-0.93-131.noarch providing bahmni-emr-0.93-131 is already installed"]}
  947.  
  948. TASK [bahmni-emr : Stop openmrs] ***************************************************************************
  949. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:48
  950. changed: [localhost] => {"changed": true, "failed": false, "name": "openmrs", "state": "stopped", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:54:04 IST", "ActiveEnterTimestampMonotonic": "4568875305", "ActiveExitTimestamp": "Sat 2021-12-18 19:52:40 IST", "ActiveExitTimestampMonotonic": "4484656643", "ActiveState": "active", "After": "basic.target network.service system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:54:04 IST", "AssertTimestampMonotonic": "4568524026", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:54:04 IST", "ConditionTimestampMonotonic": "4568524026", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/openmrs.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "OpenMRS Server", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "22450", "ExecMainStartTimestamp": "Sat 2021-12-18 19:54:04 IST", "ExecMainStartTimestampMonotonic": "4568875255", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/openmrs.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "openmrs.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 19:52:41 IST", "InactiveEnterTimestampMonotonic": "4485066217", "InactiveExitTimestamp": "Sat 2021-12-18 19:54:04 IST", "InactiveExitTimestampMonotonic": "4568524411", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "22450", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "openmrs.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/openmrs/openmrs.pid", "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", "RuntimeDirectory": "openmrs", "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": "59", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 19:54:04 IST", "WatchdogTimestampMonotonic": "4568875279", "WatchdogUSec": "0"}}
  951.  
  952. TASK [bahmni-emr : Installing two factor authentication rpm if enabled] ************************************
  953. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:54
  954. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  955.  
  956. TASK [bahmni-emr : Copy openmrs conf] **********************************************************************
  957. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:58
  958. ok: [localhost] => {"changed": false, "checksum": "591a608d41e110ae7cc889dd43239395ad8495bb", "dest": "/opt/openmrs/etc/openmrs.conf", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/openmrs/etc/openmrs.conf", "size": 424, "state": "file", "uid": 1001}
  959.  
  960. TASK [bahmni-emr : Copy bahmnicore properties] *************************************************************
  961. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:66
  962. ok: [localhost] => {"changed": false, "checksum": "758b6de39f8c85a226f5e0fd3ee2245925310b00", "dest": "/opt/openmrs/bahmnicore.properties", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/openmrs/bahmnicore.properties", "size": 520, "state": "file", "uid": 1001}
  963.  
  964. TASK [bahmni-emr : Copy rulesengine properties] ************************************************************
  965. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:74
  966. ok: [localhost] => {"changed": false, "checksum": "54c3a67528065e92abcd2441ca2426aad3e8b0bb", "dest": "/opt/openmrs/rulesengine-concept.properties", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/openmrs/rulesengine-concept.properties", "size": 105, "state": "file", "uid": 1001}
  967.  
  968. TASK [bahmni-emr : Backup openmrs markers, failed_events tables] *******************************************
  969. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:82
  970. changed: [localhost -> localhost] => {"changed": true, "failed": false, "rc": 0, "stderr": "+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n++ date +%Y%m%d_%H%M%S\n+ TIME=20211218_223551\n+ mysqldump -uroot -pP@ssw0rd openmrs markers failed_events\nWarning: Using a password on the command line interface can be insecure.\n", "stdout": "", "stdout_lines": []}
  971.  
  972. TASK [bahmni-emr : Copy script to update localhost with remote IP in markers] ******************************
  973. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:87
  974. ok: [localhost] => {"changed": false, "checksum": "33ac2c814f13656fe866ee1fadbd984eb43f6e67", "dest": "/opt/openmrs/add_remote_ip_in_openmrs_markers.sh", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/opt/openmrs/add_remote_ip_in_openmrs_markers.sh", "size": 915, "state": "file", "uid": 1001}
  975.  
  976. TASK [bahmni-emr : Update markers with remote IP] **********************************************************
  977. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:94
  978. changed: [localhost] => {"changed": true, "cmd": "/opt/openmrs/add_remote_ip_in_openmrs_markers.sh", "delta": "0:00:00.397824", "end": "2021-12-18 22:35:54.403548", "failed": false, "rc": 0, "start": "2021-12-18 22:35:54.005724", "stderr": "+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n+ mysql -uroot -hlocalhost -pP@ssw0rd openmrs -e 'update markers set feed_uri_for_last_read_entry = concat('\\''http://localhost:8052/openelis/ws/feed/patient'\\'',\n substring(feed_uri_for_last_read_entry, (LENGTH(feed_uri_for_last_read_entry) - LOCATE('\\''/'\\'', REVERSE(feed_uri_for_last_read_entry)))+1) )\n where feed_uri like '\\''%openelis/ws/feed/patient/recent'\\'';'\nWarning: Using a password on the command line interface can be insecure.\n+ mysql -uroot -hlocalhost -pP@ssw0rd openmrs -e 'update markers set feed_uri = '\\''http://localhost:8052/openelis/ws/feed/patient/recent'\\''\n where feed_uri like '\\''%openelis/ws/feed/patient/recent'\\'';'\nWarning: Using a password on the command line interface can be insecure.\n+ mysql -uroot -hlocalhost -pP@ssw0rd openmrs -e 'update failed_events set feed_uri = '\\''http://localhost:8052/openelis/ws/feed/patient/recent'\\''\n where feed_uri like '\\''%openelis/ws/feed/patient/recent'\\'';'\nWarning: Using a password on the command line interface can be insecure.", "stderr_lines": ["+ . /etc/bahmni-installer/bahmni.conf", "++ IMPLEMENTATION_NAME=default", "++ OPENMRS_DB_USERNAME=openmrs-user", "++ OPENMRS_DB_PASSWORD=P@ssw0rd", "++ OPENMRS_DB_SERVER=localhost", "++ OPENELIS_DB_USERNAME=clinlims", "++ OPENELIS_DB_PASSWORD=password", "++ OPENELIS_DB_SERVER=localhost", "++ OPENERP_DB_USERNAME=odoo", "++ OPENERP_DB_PASSWORD=password", "++ OPENERP_DB_SERVER=localhost", "++ MYSQL_ROOT_USER=root", "++ MYSQL_ROOT_PASSWORD=P@ssw0rd", "++ REPORTS_DB_SERVER=localhost", "++ REPORTS_DB_PASSWORD=P@ssw0rd", "++ REPORTS_DB_USERNAME=reports-user", "+ mysql -uroot -hlocalhost -pP@ssw0rd openmrs -e 'update markers set feed_uri_for_last_read_entry = concat('\\''http://localhost:8052/openelis/ws/feed/patient'\\'',", " substring(feed_uri_for_last_read_entry, (LENGTH(feed_uri_for_last_read_entry) - LOCATE('\\''/'\\'', REVERSE(feed_uri_for_last_read_entry)))+1) )", " where feed_uri like '\\''%openelis/ws/feed/patient/recent'\\'';'", "Warning: Using a password on the command line interface can be insecure.", "+ mysql -uroot -hlocalhost -pP@ssw0rd openmrs -e 'update markers set feed_uri = '\\''http://localhost:8052/openelis/ws/feed/patient/recent'\\''", " where feed_uri like '\\''%openelis/ws/feed/patient/recent'\\'';'", "Warning: Using a password on the command line interface can be insecure.", "+ mysql -uroot -hlocalhost -pP@ssw0rd openmrs -e 'update failed_events set feed_uri = '\\''http://localhost:8052/openelis/ws/feed/patient/recent'\\''", " where feed_uri like '\\''%openelis/ws/feed/patient/recent'\\'';'", "Warning: Using a password on the command line interface can be insecure."], "stdout": "", "stdout_lines": []}
  979.  
  980. TASK [bahmni-emr : Copy openmrs-runtime properties] ********************************************************
  981. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:98
  982. ok: [localhost] => {"changed": false, "checksum": "77830523763d61bb3656e76c38489e83a5683b65", "dest": "/opt/openmrs/etc/openmrs-runtime.properties", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/openmrs/etc/openmrs-runtime.properties", "size": 352, "state": "file", "uid": 1001}
  983.  
  984. TASK [bahmni-emr : Get matched IpTable rule] ***************************************************************
  985. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:108
  986. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep OPENMRS -m 1 | cut -c 1-2", "delta": "0:00:00.094737", "end": "2021-12-18 22:35:55.919530", "failed": false, "rc": 0, "start": "2021-12-18 22:35:55.824793", "stderr": "", "stderr_lines": [], "stdout": "8 ", "stdout_lines": ["8 "]}
  987.  
  988. TASK [bahmni-emr : delete matching rule if exists] *********************************************************
  989. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:112
  990. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 8 ", "delta": "0:00:00.011020", "end": "2021-12-18 22:35:56.473329", "failed": false, "rc": 0, "start": "2021-12-18 22:35:56.462309", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  991.  
  992. TASK [bahmni-emr : Allow openmrs port through firewall] ****************************************************
  993. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:116
  994. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "8050", "-j", "ACCEPT", "-m", "comment", "--comment", "OPENMRS"], "delta": "0:00:00.015982", "end": "2021-12-18 22:35:56.930968", "failed": false, "rc": 0, "start": "2021-12-18 22:35:56.914986", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  995.  
  996. TASK [bahmni-emr : save iptables] **************************************************************************
  997. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:119
  998. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.626506", "end": "2021-12-18 22:35:58.170910", "failed": false, "rc": 0, "start": "2021-12-18 22:35:57.544404", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  999.  
  1000. TASK [bahmni-emr : Retrieve salt from users] ***************************************************************
  1001. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:124
  1002. ok: [localhost] => {"changed": false, "cmd": ["mysql", "--user=root", "--password=P@ssw0rd", "openmrs", "--host=localhost", "--batch", "--skip-column-names", "--execute=SELECT salt from users where username='admin' or system_id='admin';"], "delta": "0:00:00.060956", "end": "2021-12-18 22:35:58.988428", "failed": false, "rc": 0, "start": "2021-12-18 22:35:58.927472", "stderr": "Warning: Using a password on the command line interface can be insecure.", "stderr_lines": ["Warning: Using a password on the command line interface can be insecure."], "stdout": "c788c6ad82a157b712392ca695dfcf2eed193d7f", "stdout_lines": ["c788c6ad82a157b712392ca695dfcf2eed193d7f"]}
  1003.  
  1004. TASK [bahmni-emr : Encrypt password] ***********************************************************************
  1005. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:134
  1006. changed: [localhost] => {"changed": true, "cmd": ["python", "-c", "import hashlib; print(hashlib.sha512(('test'+'c788c6ad82a157b712392ca695dfcf2eed193d7f').encode()).hexdigest())"], "delta": "0:00:00.060597", "end": "2021-12-18 22:35:59.857886", "failed": false, "rc": 0, "start": "2021-12-18 22:35:59.797289", "stderr": "", "stderr_lines": [], "stdout": "f1feccee0f5b7fa1ff89628d020618677606906ee67c398d285b7b4fcf913989d71ccdeb4e542c70d1474bfb45a2440f2dba543a70dcade5123098b3b94142c5", "stdout_lines": ["f1feccee0f5b7fa1ff89628d020618677606906ee67c398d285b7b4fcf913989d71ccdeb4e542c70d1474bfb45a2440f2dba543a70dcade5123098b3b94142c5"]}
  1007.  
  1008. TASK [bahmni-emr : Update password in DB] ******************************************************************
  1009. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:139
  1010. ok: [localhost] => {"changed": false, "cmd": ["mysql", "--user=root", "--password=P@ssw0rd", "openmrs", "--host=localhost", "--batch", "--skip-column-names", "--execute=UPDATE users set password='f1feccee0f5b7fa1ff89628d020618677606906ee67c398d285b7b4fcf913989d71ccdeb4e542c70d1474bfb45a2440f2dba543a70dcade5123098b3b94142c5' where username='admin' or system_id='admin';"], "delta": "0:00:01.553433", "end": "2021-12-18 22:36:02.388975", "failed": false, "rc": 0, "start": "2021-12-18 22:36:00.835542", "stderr": "Warning: Using a password on the command line interface can be insecure.", "stderr_lines": ["Warning: Using a password on the command line interface can be insecure."], "stdout": "", "stdout_lines": []}
  1011.  
  1012. TASK [bahmni-emr : Update scheduler password in openmrs global property] ***********************************
  1013. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:148
  1014. ok: [localhost] => {"changed": false, "cmd": ["mysql", "--user=root", "--password=P@ssw0rd", "openmrs", "--host=localhost", "--batch", "--skip-column-names", "--execute=UPDATE global_property set property_value='test' where property='scheduler.password' ;"], "delta": "0:00:00.193837", "end": "2021-12-18 22:36:02.999355", "failed": false, "rc": 0, "start": "2021-12-18 22:36:02.805518", "stderr": "Warning: Using a password on the command line interface can be insecure.", "stderr_lines": ["Warning: Using a password on the command line interface can be insecure."], "stdout": "", "stdout_lines": []}
  1015.  
  1016. TASK [bahmni-emr : Download omods] *************************************************************************
  1017. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:157
  1018.  
  1019. TASK [bahmni-emr : Switch off checkconfig for openmrs on passive] ******************************************
  1020. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:161
  1021. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1022.  
  1023. TASK [bahmni-emr : Copying Modules] ************************************************************************
  1024. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:165
  1025. ok: [localhost] => {"changed": false, "dest": "/etc/bahmni-installer/deployment-artifacts/modules/", "failed": false, "src": "/etc/bahmni-installer/deployment-artifacts/modules/"}
  1026.  
  1027. TASK [bahmni-emr : Running script to select right version of Omod] *****************************************
  1028. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:173
  1029. changed: [localhost] => {"changed": true, "failed": false, "rc": 0, "stderr": "ls: cannot access /etc/bahmni-installer/deployment-artifacts/modules/*.omod: No such file or directory\nbasename: missing operand\nTry 'basename --help' for more information.\nls: cannot access /etc/bahmni-installer/deployment-artifacts/modules/*.omod: No such file or directory\nbasename: missing operand\nTry 'basename --help' for more information.\n", "stdout": "", "stdout_lines": []}
  1030.  
  1031. TASK [bahmni-emr : Stop bahmni-two-factor-auth] ************************************************************
  1032. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:176
  1033. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1034.  
  1035. TASK [bahmni-emr : Copy bahmni-two-factor-auth conf] *******************************************************
  1036. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:181
  1037. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1038.  
  1039. TASK [bahmni-emr : Copy bahmni-two-factor-auth application properties] *************************************
  1040. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:190
  1041. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1042.  
  1043. TASK [bahmni-emr : Start bahmni-two-factor-auth] ***********************************************************
  1044. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:199
  1045. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1046.  
  1047. TASK [bahmni-emr : Copying getversion script] **************************************************************
  1048. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:204
  1049. ok: [localhost] => {"changed": false, "checksum": "2d946a9a5faf083ed34764896ecfc19b5afddebd", "dest": "/var/www/cgi-bin/getversion.py", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/var/www/cgi-bin/getversion.py", "size": 902, "state": "file", "uid": 1001}
  1050.  
  1051. TASK [bahmni-emr : Check SELinux status] *******************************************************************
  1052. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:211
  1053. ok: [localhost] => {"changed": false, "cmd": ["/usr/sbin/getenforce"], "delta": "0:00:00.050914", "end": "2021-12-18 22:36:05.566776", "failed": false, "rc": 0, "start": "2021-12-18 22:36:05.515862", "stderr": "", "stderr_lines": [], "stdout": "Disabled", "stdout_lines": ["Disabled"]}
  1054.  
  1055. TASK [bahmni-emr : set httpd_enable_cgi for SELinux] *******************************************************
  1056. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:216
  1057. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1058.  
  1059. TASK [bahmni-emr : Start openmrs] **************************************************************************
  1060. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:223
  1061. changed: [localhost] => {"changed": true, "enabled": true, "failed": false, "name": "openmrs", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:54:04 IST", "ActiveEnterTimestampMonotonic": "4568875305", "ActiveExitTimestamp": "Sat 2021-12-18 22:35:46 IST", "ActiveExitTimestampMonotonic": "14270962521", "ActiveState": "inactive", "After": "basic.target network.service system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:54:04 IST", "AssertTimestampMonotonic": "4568524026", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:54:04 IST", "ConditionTimestampMonotonic": "4568524026", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/openmrs.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "OpenMRS Server", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "22450", "ExecMainStartTimestamp": "Sat 2021-12-18 19:54:04 IST", "ExecMainStartTimestampMonotonic": "4568875255", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs stop ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:35:46 IST] ; stop_time=[Sat 2021-12-18 22:35:47 IST] ; pid=10187 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/openmrs.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "openmrs.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 22:35:47 IST", "InactiveEnterTimestampMonotonic": "14271841264", "InactiveExitTimestamp": "Sat 2021-12-18 19:54:04 IST", "InactiveExitTimestampMonotonic": "4568524411", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "openmrs.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/openmrs/openmrs.pid", "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", "RuntimeDirectory": "openmrs", "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": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "0", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  1062.  
  1063. TASK [bahmni-emr : copy emr_ssl conf file] *****************************************************************
  1064. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:228
  1065. ok: [localhost -> localhost] => (item=localhost) => {"changed": false, "checksum": "677fea553fa95e687099e2015f7d2a32cc410283", "dest": "/etc/httpd/conf.d/emr_ssl.conf", "failed": false, "gid": 1001, "group": "bahmni", "item": "localhost", "mode": "0644", "owner": "bahmni", "path": "/etc/httpd/conf.d/emr_ssl.conf", "size": 131, "state": "file", "uid": 1001}
  1066.  
  1067. TASK [bahmni-emr : Copying systemdate script] **************************************************************
  1068. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:238
  1069. ok: [localhost] => {"changed": false, "checksum": "14ba0a110036852b86d8c4520ce9455e5fc950c9", "dest": "/var/www/cgi-bin/systemdate", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0755", "owner": "bahmni", "path": "/var/www/cgi-bin/systemdate", "size": 176, "state": "file", "uid": 1001}
  1070.  
  1071. TASK [bahmni-web : Check if bahmni-web rpm needs an update] ************************************************
  1072. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-web/tasks/main.yml:1
  1073. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-web"], "delta": "0:00:06.072883", "end": "2021-12-18 22:36:15.789992", "failed": false, "rc": 0, "start": "2021-12-18 22:36:09.717109", "stderr": "Existing lock /var/run/yum.pid: another copy is running as pid 10275.\nAnother app is currently holding the yum lock; waiting for it to exit...\n The other application is: PackageKit\n Memory : 269 M RSS (1.1 GB VSZ)\n Started: Sat Dec 18 22:35:48 2021 - 00:22 ago\n State : Sleeping, pid: 10275\nAnother app is currently holding the yum lock; waiting for it to exit...\n The other application is: PackageKit\n Memory : 269 M RSS (1.1 GB VSZ)\n Started: Sat Dec 18 22:35:48 2021 - 00:24 ago\n State : Sleeping, pid: 10275", "stderr_lines": ["Existing lock /var/run/yum.pid: another copy is running as pid 10275.", "Another app is currently holding the yum lock; waiting for it to exit...", " The other application is: PackageKit", " Memory : 269 M RSS (1.1 GB VSZ)", " Started: Sat Dec 18 22:35:48 2021 - 00:22 ago", " State : Sleeping, pid: 10275", "Another app is currently holding the yum lock; waiting for it to exit...", " The other application is: PackageKit", " Memory : 269 M RSS (1.1 GB VSZ)", " Started: Sat Dec 18 22:35:48 2021 - 00:24 ago", " State : Sleeping, pid: 10275"], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-web.noarch 0.93-131 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-web.noarch 0.93-131 @bahmni"]}
  1074.  
  1075. TASK [bahmni-web : Uninstall bahmni-web rpm] ***************************************************************
  1076. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-web/tasks/main.yml:6
  1077. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1078. installed_bahmni_web.stdout.find("{{ bahmni_web_version }}") == -1
  1079.  
  1080. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1081.  
  1082. TASK [bahmni-web : Install bahmni-web from bahmni repo] ****************************************************
  1083. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-web/tasks/main.yml:10
  1084. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-web-0.93-131.noarch providing bahmni-web-0.93-131 is already installed"]}
  1085.  
  1086. TASK [bahmni-web : copy ssl conf file] *********************************************************************
  1087. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-web/tasks/main.yml:13
  1088. changed: [localhost] => {"changed": true, "checksum": "2fdb8d11442b979d144e3bec1fe58b814eb8123e", "dest": "/etc/httpd/conf.d/ssl.conf", "failed": false, "gid": 1001, "group": "bahmni", "md5sum": "99eaa47f7478e5af344226b1a81d7097", "mode": "0644", "owner": "bahmni", "size": 12514, "src": "/root/.ansible/tmp/ansible-tmp-1639847183.82-34272273502447/source", "state": "file", "uid": 1001}
  1089.  
  1090. TASK [bahmni-implementer-interface : Check if bahmni-implementer-interface rpm needs an update] ************
  1091. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-implementer-interface/tasks/main.yml:1
  1092. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-implementer-interface"], "delta": "0:00:02.310052", "end": "2021-12-18 22:36:29.669428", "failed": false, "rc": 0, "start": "2021-12-18 22:36:27.359376", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-implementer-interface.noarch 0.93-97 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-implementer-interface.noarch 0.93-97 @bahmni"]}
  1093.  
  1094. TASK [bahmni-implementer-interface : Uninstall bahmni-implementer-interface rpm] ***************************
  1095. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-implementer-interface/tasks/main.yml:6
  1096. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1097. installed_bahmni_implementer_interface.stdout.find("{{ bahmni_implementer_interface_version }}") == -1
  1098.  
  1099. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1100.  
  1101. TASK [bahmni-implementer-interface : Install bahmni-implementer-interface from bahmni repo] ****************
  1102. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-implementer-interface/tasks/main.yml:10
  1103. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-implementer-interface-0.93-97.noarch providing bahmni-implementer-interface-0.93-97 is already installed"]}
  1104.  
  1105. TASK [bahmni-appointments-frontend : Check if bahmni-appointments-frontend rpm needs an update] ************
  1106. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-appointments-frontend/tasks/main.yml:1
  1107. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-appointments-frontend"], "delta": "0:00:00.896009", "end": "2021-12-18 22:36:35.331759", "failed": false, "rc": 0, "start": "2021-12-18 22:36:34.435750", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-appointments-frontend.noarch 0.93-31 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-appointments-frontend.noarch 0.93-31 @bahmni"]}
  1108.  
  1109. TASK [bahmni-appointments-frontend : Uninstall bahmni-appointments-frontend rpm] ***************************
  1110. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-appointments-frontend/tasks/main.yml:6
  1111. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1112. installed_bahmni_appointments_frontend.stdout.find("{{ bahmni_appointments_frontend_version }}") == -1
  1113.  
  1114. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1115.  
  1116. TASK [bahmni-appointments-frontend : Install bahmni-appointments-frontend from bahmni repo] ****************
  1117. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-appointments-frontend/tasks/main.yml:10
  1118. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-appointments-frontend-0.93-31.noarch providing bahmni-appointments-frontend-0.93-31 is already installed"]}
  1119.  
  1120. TASK [bahmni-backup-upload-directories : Creating pub SSH keys in active machine] **************************
  1121. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:1
  1122. ok: [localhost] => {"append": false, "changed": false, "comment": "root", "failed": false, "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "ssh_fingerprint": "2048 SHA256:PWRU7MXKE7H2cVns9978eSdY39SbYi9zdENe568kjmg ansible-generated on localhost.localdomain (RSA)", "ssh_key_file": "/root/.ssh/id_rsa", "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDkterQBrP6gECVQcxmEnjeC8ZE328ulOVa+IYNHY6OB7AvT6jp/ux/uOa85cUsQt3eJ0ERra0i61aheHxBAyFu7zzRKFWIlSFEVhWMR+X8kcFSP864IVs+oS4yOU0sN1LmJPUufZfw0sNJmtsaGSFlDrdHhaVHCRXQV0glDdQthZnAMV2/Mvm7dbLNzY+JUCny6mPlOvM+uhkKnIZehoANadyDYIFAuXv4K3OhvO7Gfp7mnDYRdSLATKf4l1UPxc9kG5qYvxmQxPBTFAY350Zp/uqlSsPNFiIJDjKL26Yw3KcQ7DerEYZBpp7a/gShsm+uNjFDr3HrPHrItJwtJtZz ansible-generated on localhost.localdomain", "state": "present", "uid": 0}
  1123.  
  1124. TASK [bahmni-backup-upload-directories : Downloading pub key] **********************************************
  1125. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:5
  1126. changed: [localhost] => {"changed": true, "checksum": "6c51279a7fa66c3d4a8e996e97cc9b1d148ed3c5", "dest": "/tmp/id_rsa.pub", "failed": false, "md5sum": "4e0b56b52ff9d4f40fd4a994a7fc1f11", "remote_checksum": "6c51279a7fa66c3d4a8e996e97cc9b1d148ed3c5", "remote_md5sum": null}
  1127.  
  1128. TASK [bahmni-backup-upload-directories : Add authorized key to passive machine] ****************************
  1129. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:10
  1130. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1131.  
  1132. TASK [bahmni-backup-upload-directories : Deleting temporal files] ******************************************
  1133. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:15
  1134. changed: [localhost -> localhost] => {"changed": true, "failed": false, "path": "/tmp/id_rsa.pub", "state": "absent"}
  1135.  
  1136. TASK [bahmni-backup-upload-directories : Make sure patient_images directory exists in passive machine] *****
  1137. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:19
  1138. ok: [localhost] => (item=/home/bahmni/patient_images) => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "item": "/home/bahmni/patient_images", "mode": "0755", "owner": "bahmni", "path": "/home/bahmni/patient_images", "size": 28, "state": "directory", "uid": 1001}
  1139. ok: [localhost] => (item=/home/bahmni/document_images) => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "item": "/home/bahmni/document_images", "mode": "0755", "owner": "bahmni", "path": "/home/bahmni/document_images", "size": 6, "state": "directory", "uid": 1001}
  1140. ok: [localhost] => (item=/home/bahmni/uploaded-files) => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "item": "/home/bahmni/uploaded-files", "mode": "0755", "owner": "bahmni", "path": "/home/bahmni/uploaded-files", "size": 29, "state": "directory", "uid": 1001}
  1141. ok: [localhost] => (item=/home/bahmni/uploaded_results) => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "item": "/home/bahmni/uploaded_results", "mode": "0755", "owner": "bahmni", "path": "/home/bahmni/uploaded_results", "size": 6, "state": "directory", "uid": 1001}
  1142. ok: [localhost] => (item=/home/bahmni/clinical_forms) => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "item": "/home/bahmni/clinical_forms", "mode": "0755", "owner": "bahmni", "path": "/home/bahmni/clinical_forms", "size": 6, "state": "directory", "uid": 1001}
  1143.  
  1144. TASK [bahmni-backup-upload-directories : Install crontab] **************************************************
  1145. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:28
  1146. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["crontabs-1.11-6.20121102git.el7.noarch providing crontabs is already installed"]}
  1147.  
  1148. TASK [bahmni-backup-upload-directories : Remove crontab jobs for upload directories] ***********************
  1149. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:31
  1150. ok: [localhost] => (item=sync_patient_image_cron) => {"changed": false, "envs": [], "failed": false, "item": "sync_patient_image_cron", "jobs": []}
  1151. ok: [localhost] => (item=sync_document_image_cron) => {"changed": false, "envs": [], "failed": false, "item": "sync_document_image_cron", "jobs": []}
  1152. ok: [localhost] => (item=sync_uploaded_files_cron) => {"changed": false, "envs": [], "failed": false, "item": "sync_uploaded_files_cron", "jobs": []}
  1153. ok: [localhost] => (item=sync_uploaded_results_cron) => {"changed": false, "envs": [], "failed": false, "item": "sync_uploaded_results_cron", "jobs": []}
  1154. ok: [localhost] => (item=sync_clinical_forms_cron) => {"changed": false, "envs": [], "failed": false, "item": "sync_clinical_forms_cron", "jobs": []}
  1155.  
  1156. TASK [bahmni-backup-upload-directories : create a cron tab to sync patient_images directories] *************
  1157. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:40
  1158. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1159. {{ (passive is not defined or passive != 'yes') and hostvars[item].get('passive') | default('') == 'yes' }}
  1160.  
  1161. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  1162.  
  1163. TASK [bahmni-backup-upload-directories : create a cron tab to sync document_images directories] ************
  1164. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:49
  1165. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1166. {{ (passive is not defined or passive != 'yes') and hostvars[item].get('passive') | default('') == 'yes' }}
  1167.  
  1168. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  1169.  
  1170. TASK [bahmni-backup-upload-directories : create a cron tab to sync uploaded-files directories] *************
  1171. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:58
  1172. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1173. {{ (passive is not defined or passive != 'yes') and hostvars[item].get('passive') | default('') == 'yes' }}
  1174.  
  1175. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  1176.  
  1177. TASK [bahmni-backup-upload-directories : create a cron tab to sync uploaded_results directories] ***********
  1178. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:67
  1179. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1180. {{ (passive is not defined or passive != 'yes') and hostvars[item].get('passive') | default('') == 'yes' }}
  1181.  
  1182. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  1183.  
  1184. TASK [bahmni-backup-upload-directories : create a cron tab to sync clinical forms directories] *************
  1185. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:76
  1186. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1187. {{ (passive is not defined or passive != 'yes') and hostvars[item].get('passive') | default('') == 'yes' }}
  1188.  
  1189. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  1190.  
  1191. TASK [bahmni-backup-upload-directories : Start cron service] ***********************************************
  1192. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml:86
  1193. ok: [localhost] => {"changed": false, "failed": false, "name": "crond", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:38:43 IST", "ActiveEnterTimestampMonotonic": "56494861", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target time-sync.target systemd-user-sessions.service auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:43 IST", "AssertTimestampMonotonic": "56445659", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:43 IST", "ConditionTimestampMonotonic": "56445659", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/crond.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Command Scheduler", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/crond (ignore_errors=no)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1130", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:43 IST", "ExecMainStartTimestampMonotonic": "56494742", "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/sbin/crond ; argv[]=/usr/sbin/crond -n $CRONDARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/crond.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "crond.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 18:38:43 IST", "InactiveExitTimestampMonotonic": "56494861", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1130", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "crond.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "on-failure", "RestartUSec": "30s", "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": "1", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:38:43 IST", "WatchdogTimestampMonotonic": "56494837", "WatchdogUSec": "0"}}
  1194.  
  1195. TASK [implementation-config : remove /var/www/bahmni_config] ***********************************************
  1196. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:1
  1197. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1198.  
  1199. TASK [implementation-config : Copy implementation config to /var/www/bahmni_config] ************************
  1200. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:4
  1201. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1202.  
  1203. TASK [implementation-config : Ensure directory and permissions for /var/www/bahmni_config] *****************
  1204. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:15
  1205. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1206.  
  1207. TASK [implementation-config : check if obscalculator exists] ***********************************************
  1208. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:18
  1209. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1210.  
  1211. TASK [implementation-config : Link obscalculator in openmrs application data directory] ********************
  1212. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:22
  1213. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1214.  
  1215. TASK [implementation-config : check if ordertemplates exists] **********************************************
  1216. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:26
  1217. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1218.  
  1219. TASK [implementation-config : Link order templates in openmrs application data directory if it exists] *****
  1220. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:30
  1221. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1222.  
  1223. TASK [implementation-config : check if encounterModifier exists] *******************************************
  1224. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:34
  1225. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1226.  
  1227. TASK [implementation-config : Link encounter modifiers in openmrs application data directory if it exists] ***
  1228. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:38
  1229. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1230.  
  1231. TASK [implementation-config : check if patientMatchingAlgorithm exists] ************************************
  1232. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:42
  1233. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1234.  
  1235. TASK [implementation-config : Link patient match algorithms in openmrs application data directory if it exists] ***
  1236. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:46
  1237. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1238.  
  1239. TASK [implementation-config : check if elisFeedInterceptor exists] *****************************************
  1240. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:50
  1241. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1242.  
  1243. TASK [implementation-config : Link elis feed interceptors in openmrs application data directory if it exists] ***
  1244. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:54
  1245. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1246.  
  1247. TASK [implementation-config : check if observationsAdder exists] *******************************************
  1248. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:58
  1249. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1250.  
  1251. TASK [implementation-config : Link observation adders in openmrs application data directory if it exists] ***
  1252. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:62
  1253. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1254.  
  1255. TASK [implementation-config : remove /opt/openmrs/bahmni_config] *******************************************
  1256. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:67
  1257. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1258.  
  1259. TASK [implementation-config : Link entire bahmni_config in openmrs application data directory] *************
  1260. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:70
  1261. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1262.  
  1263. TASK [implementation-config : Run openmrs liquibase migrations] ********************************************
  1264. task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:73
  1265. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1266.  
  1267. TASK [bahmni-offline : Install bahmni-offline from bahmni-repo] ********************************************
  1268. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-offline/tasks/main.yml:1
  1269. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1270. {{ groups['bahmni-offline'] | length }} > 0
  1271.  
  1272. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1273.  
  1274. TASK [bahmni-offline : Change ssl.conf file] ***************************************************************
  1275. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-offline/tasks/main.yml:5
  1276. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1277. {{ groups['bahmni-offline'] | length }} > 0
  1278.  
  1279. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  1280. META: ran handlers
  1281. META: ran handlers
  1282. [WARNING]: Could not match supplied host pattern, ignoring: bahmni-reports-db-slave
  1283.  
  1284.  
  1285. PLAY [bahmni-reports-db,bahmni-reports-db-slave] ***********************************************************
  1286. META: ran handlers
  1287.  
  1288. TASK [installer-config : Fail if implementation name is not provided] **************************************
  1289. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  1290. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1291.  
  1292. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  1293. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  1294. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1295.  
  1296. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  1297. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  1298. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1299.  
  1300. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  1301. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  1302. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1303.  
  1304. TASK [installer-config : add bahmni configuration file] ****************************************************
  1305. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  1306. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1307.  
  1308. TASK [installer-config : Creating Module directory] ********************************************************
  1309. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  1310. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1311.  
  1312. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  1313. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  1314. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1315.  
  1316. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  1317. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  1318. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1319.  
  1320. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  1321. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  1322. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1323.  
  1324. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  1325. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  1326. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  1327.  
  1328. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  1329. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  1330. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1331.  
  1332. TASK [installer-config : Creating backrest log directory] **************************************************
  1333. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  1334. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1335.  
  1336. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  1337. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  1338. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1339.  
  1340. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  1341. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  1342. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1343.  
  1344. TASK [mysql : add mysql 5.6 yum repo] **********************************************************************
  1345. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:1
  1346. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1347. {{ '5.6' in mysql_version }}
  1348.  
  1349. changed: [localhost] => {"changed": true, "checksum": "ab75dd093df3039636eb776b4585f6e3c9d813b0", "dest": "/etc/yum.repos.d/mysql56.repo", "failed": false, "gid": 0, "group": "root", "md5sum": "6273dfe147f5fbd9b0307f4d362d0e23", "mode": "0644", "owner": "root", "size": 191, "src": "/root/.ansible/tmp/ansible-tmp-1639847234.58-16092732317582/source", "state": "file", "uid": 0}
  1350.  
  1351. TASK [mysql : Install python mysql for ansible] ************************************************************
  1352. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:6
  1353. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1354. {{ '5.6' in mysql_version }}
  1355.  
  1356. ok: [localhost] => (item=[u'mysql-community-common-5.6.48', u'mysql-community-libs-5.6.48', u'MySQL-python']) => {"changed": false, "failed": false, "item": ["mysql-community-common-5.6.48", "mysql-community-libs-5.6.48", "MySQL-python"], "msg": "", "rc": 0, "results": ["mysql-community-common-5.6.48-2.el7.x86_64 providing mysql-community-common-5.6.48 is already installed", "mysql-community-libs-5.6.48-2.el7.x86_64 providing mysql-community-libs-5.6.48 is already installed", "MySQL-python-1.2.5-1.el7.x86_64 providing MySQL-python is already installed"]}
  1357.  
  1358. TASK [mysql : Check if any version of mysql is present] ****************************************************
  1359. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:13
  1360. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1361. {{ '5.6' in mysql_version }}
  1362.  
  1363. changed: [localhost] => {"changed": true, "cmd": ["mysql", "--version"], "delta": "0:00:00.424064", "end": "2021-12-18 22:37:28.265713", "failed": false, "rc": 0, "start": "2021-12-18 22:37:27.841649", "stderr": "", "stderr_lines": [], "stdout": "mysql Ver 14.14 Distrib 5.6.48, for Linux (x86_64) using EditLine wrapper", "stdout_lines": ["mysql Ver 14.14 Distrib 5.6.48, for Linux (x86_64) using EditLine wrapper"]}
  1364.  
  1365. TASK [mysql : Uninstall MySQL if 5.6.48 is absent] *********************************************************
  1366. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:18
  1367. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1368. {{ '5.6' in mysql_version }}
  1369.  
  1370. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1371. mysqlVersion|success and mysqlVersion.stdout.find('{{mysql_version}}') == -1
  1372.  
  1373. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  1374.  
  1375. TASK [mysql : Install mysql from mysql5.6.48 yum repository] ***********************************************
  1376. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:25
  1377. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1378. {{ '5.6' in mysql_version }}
  1379.  
  1380. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1381. mysqlVersion|failed or mysqlVersion.stdout.find('{{mysql_version}}') == -1
  1382.  
  1383. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  1384.  
  1385. TASK [mysql : Create /var/log/mysql directory to store binlogs if it does not exist] ***********************
  1386. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:35
  1387. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1388. {{ '5.6' in mysql_version }}
  1389.  
  1390. ok: [localhost] => {"changed": false, "failed": false, "gid": 27, "group": "mysql", "mode": "0755", "owner": "mysql", "path": "/var/log/mysql", "size": 6, "state": "directory", "uid": 27}
  1391.  
  1392. TASK [mysql : Copy mysql config for mysql 5.6] *************************************************************
  1393. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:38
  1394. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1395. {{ '5.6' in mysql_version }}
  1396.  
  1397. ok: [localhost] => {"changed": false, "checksum": "0faae35fc06ec09d882ce7a2537be2fc886be3c0", "dest": "/etc/my.cnf", "failed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/my.cnf", "size": 515, "state": "file", "uid": 0}
  1398.  
  1399. TASK [mysql : Stop Mysql Service] **************************************************************************
  1400. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:46
  1401. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1402. {{ '5.6' in mysql_version }}
  1403.  
  1404. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1405.  
  1406. TASK [mysql : Start Mysql Service] *************************************************************************
  1407. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:50
  1408. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1409. {{ '5.6' in mysql_version }}
  1410.  
  1411. ok: [localhost] => {"changed": false, "enabled": true, "failed": false, "name": "mysqld", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:39:31 IST", "ActiveEnterTimestampMonotonic": "95707691", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target syslog.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:42 IST", "AssertTimestampMonotonic": "55678620", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:42 IST", "ConditionTimestampMonotonic": "55678620", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mysqld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "MySQL Community Server", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1899", "ExecMainStartTimestamp": "Sat 2021-12-18 18:39:26 IST", "ExecMainStartTimestampMonotonic": "90189581", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/mysqld_safe ; argv[]=/usr/bin/mysqld_safe --basedir=/usr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPost": "{ path=/usr/bin/mysql-systemd-start ; argv[]=/usr/bin/mysql-systemd-start post ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/bin/mysql-systemd-start ; argv[]=/usr/bin/mysql-systemd-start pre ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mysqld.service", "Group": "mysql", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mysqld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 18:38:42 IST", "InactiveExitTimestampMonotonic": "55681525", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1899", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mysqld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "yes", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "always", "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": "34", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "10min", "TimeoutStopUSec": "10min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mysql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:39:26 IST", "WatchdogTimestampMonotonic": "90189626", "WatchdogUSec": "0"}}
  1412.  
  1413. TASK [mysql : Update mysql root password for mysql 5.6] ****************************************************
  1414. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:53
  1415. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1416. {{ '5.6' in mysql_version }}
  1417.  
  1418. ok: [localhost] => {"changed": false, "failed": false, "user": "root"}
  1419.  
  1420. TASK [mysql : Get matched IpTable rule] ********************************************************************
  1421. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:63
  1422. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1423. {{ '5.6' in mysql_version }}
  1424.  
  1425. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep MYSQL -m 1 | cut -c 1-2", "delta": "0:00:00.533949", "end": "2021-12-18 22:37:35.615450", "failed": false, "rc": 0, "start": "2021-12-18 22:37:35.081501", "stderr": "", "stderr_lines": [], "stdout": "4 ", "stdout_lines": ["4 "]}
  1426.  
  1427. TASK [mysql : delete matching rule if exists] **************************************************************
  1428. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:67
  1429. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1430. {{ '5.6' in mysql_version }}
  1431.  
  1432. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 4 ", "delta": "0:00:00.011929", "end": "2021-12-18 22:37:36.260542", "failed": false, "rc": 0, "start": "2021-12-18 22:37:36.248613", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  1433.  
  1434. TASK [mysql : Allow mysql port through firewall] ***********************************************************
  1435. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:71
  1436. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1437. {{ '5.6' in mysql_version }}
  1438.  
  1439. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "3306", "-j", "ACCEPT", "-m", "comment", "--comment", "MYSQL"], "delta": "0:00:00.044004", "end": "2021-12-18 22:37:36.848761", "failed": false, "rc": 0, "start": "2021-12-18 22:37:36.804757", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  1440.  
  1441. TASK [mysql : save iptables] *******************************************************************************
  1442. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:74
  1443. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1444. {{ '5.6' in mysql_version }}
  1445.  
  1446. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:01.005592", "end": "2021-12-18 22:37:38.545669", "failed": false, "rc": 0, "start": "2021-12-18 22:37:37.540077", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  1447.  
  1448. TASK [mysql : add mysql 5.7 yum repo] **********************************************************************
  1449. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:1
  1450. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1451. {{ '5.7' in mysql_version }}
  1452.  
  1453. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1454.  
  1455. TASK [mysql : Install python mysql for ansible] ************************************************************
  1456. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:6
  1457. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1458. {{ '5.7' in mysql_version }}
  1459.  
  1460. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  1461.  
  1462. TASK [mysql : Check if any version of mysql is present] ****************************************************
  1463. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:14
  1464. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1465. {{ '5.7' in mysql_version }}
  1466.  
  1467. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1468.  
  1469. TASK [mysql : Uninstall MySQL if 5.6.48 is absent] *********************************************************
  1470. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:19
  1471. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1472. {{ '5.7' in mysql_version }}
  1473.  
  1474. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  1475.  
  1476. TASK [mysql : Install mysql from mysql5.6.48 yum repository] ***********************************************
  1477. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:26
  1478. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1479. {{ '5.7' in mysql_version }}
  1480.  
  1481. skipping: [localhost] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional result was False", "skipped": true}
  1482.  
  1483. TASK [mysql : Create /var/log/mysql directory to store binlogs if it does not exist] ***********************
  1484. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:37
  1485. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1486. {{ '5.7' in mysql_version }}
  1487.  
  1488. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1489.  
  1490. TASK [mysql : Copy mysql config for mysql 5.7] *************************************************************
  1491. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:40
  1492. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1493. {{ '5.7' in mysql_version }}
  1494.  
  1495. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1496.  
  1497. TASK [mysql : Stop Mysql Service] **************************************************************************
  1498. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:48
  1499. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1500. {{ '5.7' in mysql_version }}
  1501.  
  1502. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1503.  
  1504. TASK [mysql : Start Mysql Service] *************************************************************************
  1505. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:52
  1506. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1507. {{ '5.7' in mysql_version }}
  1508.  
  1509. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1510.  
  1511. TASK [mysql : Retrieve the temp mysql root password] *******************************************************
  1512. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:55
  1513. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1514. {{ '5.7' in mysql_version }}
  1515.  
  1516. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1517.  
  1518. TASK [mysql : Update mysql root password with temp password] ***********************************************
  1519. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:60
  1520. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1521. {{ '5.7' in mysql_version }}
  1522.  
  1523. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1524.  
  1525. TASK [mysql : Update mysql root password] ******************************************************************
  1526. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:66
  1527. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1528. {{ '5.7' in mysql_version }}
  1529.  
  1530. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1531.  
  1532. TASK [mysql : Upgrade Mysql] *******************************************************************************
  1533. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:70
  1534. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1535. {{ '5.7' in mysql_version }}
  1536.  
  1537. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1538.  
  1539. TASK [mysql : Restart Mysql Service] ***********************************************************************
  1540. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:74
  1541. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1542. {{ '5.7' in mysql_version }}
  1543.  
  1544. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1545.  
  1546. TASK [mysql : set mysql_role_ran fact] *********************************************************************
  1547. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:77
  1548. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1549. {{ '5.7' in mysql_version }}
  1550.  
  1551. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1552.  
  1553. TASK [mysql : Get matched IpTable rule] ********************************************************************
  1554. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:82
  1555. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1556. {{ '5.7' in mysql_version }}
  1557.  
  1558. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1559.  
  1560. TASK [mysql : delete matching rule if exists] **************************************************************
  1561. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:86
  1562. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1563. {{ '5.7' in mysql_version }}
  1564.  
  1565. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1566.  
  1567. TASK [mysql : Allow mysql port through firewall] ***********************************************************
  1568. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:90
  1569. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1570. {{ '5.7' in mysql_version }}
  1571.  
  1572. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1573.  
  1574. TASK [mysql : save iptables] *******************************************************************************
  1575. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql57.yml:93
  1576. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1577. {{ '5.7' in mysql_version }}
  1578.  
  1579. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1580. META: ran handlers
  1581. META: ran handlers
  1582.  
  1583. PLAY [bahmni-reports-db] ***********************************************************************************
  1584. META: ran handlers
  1585.  
  1586. TASK [mysql-users : ensure anonymous users are not in the database] ****************************************
  1587. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:1
  1588. ok: [localhost] => {"changed": false, "failed": false, "user": ""}
  1589.  
  1590. TASK [mysql-users : Create and grant privileges to db user on localhost] ***********************************
  1591. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:8
  1592. ok: [localhost] => {"changed": false, "failed": false, "user": "reports-user"}
  1593.  
  1594. TASK [mysql-users : Create and grant privileges to db user from app server] ********************************
  1595. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:18
  1596. ok: [localhost] => (item=localhost) => {"changed": false, "failed": false, "item": "localhost", "user": "reports-user"}
  1597.  
  1598. TASK [mysql-users : Create and grant privileges to root user from app server] ******************************
  1599. task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql-users/tasks/main.yml:29
  1600. ok: [localhost] => (item=localhost) => {"changed": false, "failed": false, "item": "localhost", "user": "root"}
  1601. META: ran handlers
  1602. META: ran handlers
  1603.  
  1604. PLAY [bahmni-reports] **************************************************************************************
  1605. META: ran handlers
  1606.  
  1607. TASK [installer-config : Fail if implementation name is not provided] **************************************
  1608. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  1609. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1610.  
  1611. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  1612. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  1613. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1614.  
  1615. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  1616. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  1617. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1618.  
  1619. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  1620. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  1621. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1622.  
  1623. TASK [installer-config : add bahmni configuration file] ****************************************************
  1624. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  1625. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1626.  
  1627. TASK [installer-config : Creating Module directory] ********************************************************
  1628. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  1629. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1630.  
  1631. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  1632. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  1633. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1634.  
  1635. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  1636. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  1637. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1638.  
  1639. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  1640. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  1641. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1642.  
  1643. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  1644. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  1645. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  1646.  
  1647. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  1648. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  1649. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1650.  
  1651. TASK [installer-config : Creating backrest log directory] **************************************************
  1652. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  1653. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1654.  
  1655. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  1656. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  1657. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1658.  
  1659. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  1660. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  1661. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1662.  
  1663. TASK [oracle-java : check if java is already downloaded] ***************************************************
  1664. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:1
  1665. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1666.  
  1667. TASK [oracle-java : set_fact] ******************************************************************************
  1668. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:5
  1669. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1670.  
  1671. TASK [oracle-java : Delete java rpm if checksum does not match] ********************************************
  1672. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:9
  1673. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1674.  
  1675. TASK [oracle-java : Download Java] *************************************************************************
  1676. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:13
  1677. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1678.  
  1679. TASK [oracle-java : install oracle java rpm] ***************************************************************
  1680. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:17
  1681. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1682.  
  1683. TASK [oracle-java : Make java available for system] ********************************************************
  1684. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:20
  1685. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1686.  
  1687. TASK [oracle-java : Make javac available for system] *******************************************************
  1688. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:23
  1689. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1690.  
  1691. TASK [oracle-java : Make jar available for system] *********************************************************
  1692. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:27
  1693. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1694.  
  1695. TASK [oracle-java : Set the JAVA_HOME variable] ************************************************************
  1696. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:31
  1697. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1698.  
  1699. TASK [oracle-java : set java_role_ran fact] ****************************************************************
  1700. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:34
  1701. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1702.  
  1703. TASK [bahmni-reports : Check if bahmni-reports rpm needs an update] ****************************************
  1704. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:1
  1705. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-reports"], "delta": "0:00:06.049213", "end": "2021-12-18 22:38:04.746157", "failed": false, "rc": 0, "start": "2021-12-18 22:37:58.696944", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-reports.noarch 0.93-45 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-reports.noarch 0.93-45 @bahmni"]}
  1706.  
  1707. TASK [bahmni-reports : Uninstall bahmni-reports rpm] *******************************************************
  1708. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:6
  1709. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1710. installed_bahmni_reports.stdout.find("{{ bahmni_reports_version }}") == -1
  1711.  
  1712. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1713.  
  1714. TASK [bahmni-reports : Install bahmni-reports from bahmni-repo] ********************************************
  1715. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:10
  1716. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-reports-0.93-45.noarch providing bahmni-reports-0.93-45 is already installed"]}
  1717.  
  1718. TASK [bahmni-reports : Stop bahmni-reports] ****************************************************************
  1719. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:13
  1720. changed: [localhost] => {"changed": true, "failed": false, "name": "bahmni-reports", "state": "stopped", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:36:42 IST", "ActiveEnterTimestampMonotonic": "3526923335", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket network-online.target system.slice network.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:36:42 IST", "AssertTimestampMonotonic": "3526597066", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:36:42 IST", "ConditionTimestampMonotonic": "3526597066", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/bahmni-reports.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Bahmni Reports Service", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "18688", "ExecMainStartTimestamp": "Sat 2021-12-18 19:36:42 IST", "ExecMainStartTimestampMonotonic": "3526923277", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/bahmni-reports/bin/bahmni-reports ; argv[]=/opt/bahmni-reports/bin/bahmni-reports restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/bahmni-reports/bin/bahmni-reports ; argv[]=/opt/bahmni-reports/bin/bahmni-reports start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/opt/bahmni-reports/bin/bahmni-reports ; argv[]=/opt/bahmni-reports/bin/bahmni-reports stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/bahmni-reports.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "bahmni-reports.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 19:36:42 IST", "InactiveExitTimestampMonotonic": "3526597765", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "18688", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "bahmni-reports.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/bahmni-reports/bahmni-reports.pid", "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", "RuntimeDirectory": "bahmni-reports", "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": "42", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 19:36:42 IST", "WatchdogTimestampMonotonic": "3526923306", "WatchdogUSec": "0"}}
  1721.  
  1722. TASK [bahmni-reports : Copy bahmni-reports config] *********************************************************
  1723. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:20
  1724. ok: [localhost] => {"changed": false, "checksum": "1964c8ddf9d5e679d065f286b20814a909034a16", "dest": "/opt/bahmni-reports/etc/bahmni-reports.conf", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/bahmni-reports/etc/bahmni-reports.conf", "size": 326, "state": "file", "uid": 1001}
  1725.  
  1726. TASK [bahmni-reports : Copy bahmni-reports properties] *****************************************************
  1727. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:28
  1728. ok: [localhost] => {"changed": false, "checksum": "354911bdf21ce8a77f398aa21c4643b117c52d9c", "dest": "/opt/bahmni-reports/etc/bahmni-reports.properties", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/bahmni-reports/etc/bahmni-reports.properties", "size": 1027, "state": "file", "uid": 1001}
  1729.  
  1730. TASK [bahmni-reports : Make sure reports save directory exists] ********************************************
  1731. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:36
  1732. ok: [localhost] => (item=/home/bahmni/reports) => {"changed": false, "failed": false, "gid": 1001, "group": "bahmni", "item": "/home/bahmni/reports", "mode": "0755", "owner": "bahmni", "path": "/home/bahmni/reports", "size": 6, "state": "directory", "uid": 1001}
  1733.  
  1734. TASK [bahmni-reports : Get matched IpTable rule] ***********************************************************
  1735. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:43
  1736. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep BAHMNIREPORTS -m 1 | cut -c 1-2", "delta": "0:00:00.095072", "end": "2021-12-18 22:38:33.032868", "failed": false, "rc": 0, "start": "2021-12-18 22:38:32.937796", "stderr": "", "stderr_lines": [], "stdout": "8 ", "stdout_lines": ["8 "]}
  1737.  
  1738. TASK [bahmni-reports : delete matching rule if exists] *****************************************************
  1739. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:47
  1740. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 8 ", "delta": "0:00:00.009966", "end": "2021-12-18 22:38:33.423576", "failed": false, "rc": 0, "start": "2021-12-18 22:38:33.413610", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  1741.  
  1742. TASK [bahmni-reports : Allow bahmni-reports port through firewall] *****************************************
  1743. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:51
  1744. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "8051", "-j", "ACCEPT", "-m", "comment", "--comment", "BAHMNIREPORTS"], "delta": "0:00:00.010903", "end": "2021-12-18 22:38:33.880824", "failed": false, "rc": 0, "start": "2021-12-18 22:38:33.869921", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  1745.  
  1746. TASK [bahmni-reports : save iptables] **********************************************************************
  1747. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:54
  1748. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.326219", "end": "2021-12-18 22:38:34.655473", "failed": false, "rc": 0, "start": "2021-12-18 22:38:34.329254", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  1749.  
  1750. TASK [bahmni-reports : Switch off chkconfig for bahmni-reports on passive] *********************************
  1751. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:58
  1752. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1753.  
  1754. TASK [bahmni-reports : Start bahmni-reports and enable at boot] ********************************************
  1755. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:62
  1756. changed: [localhost] => {"changed": true, "enabled": true, "failed": false, "name": "bahmni-reports", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:36:42 IST", "ActiveEnterTimestampMonotonic": "3526923335", "ActiveExitTimestamp": "Sat 2021-12-18 22:38:28 IST", "ActiveExitTimestampMonotonic": "14432890220", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket network-online.target system.slice network.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:36:42 IST", "AssertTimestampMonotonic": "3526597066", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:36:42 IST", "ConditionTimestampMonotonic": "3526597066", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/bahmni-reports.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Bahmni Reports Service", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "18688", "ExecMainStartTimestamp": "Sat 2021-12-18 19:36:42 IST", "ExecMainStartTimestampMonotonic": "3526923277", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/bahmni-reports/bin/bahmni-reports ; argv[]=/opt/bahmni-reports/bin/bahmni-reports restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/bahmni-reports/bin/bahmni-reports ; argv[]=/opt/bahmni-reports/bin/bahmni-reports start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/opt/bahmni-reports/bin/bahmni-reports ; argv[]=/opt/bahmni-reports/bin/bahmni-reports stop ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:38:28 IST] ; stop_time=[Sat 2021-12-18 22:38:29 IST] ; pid=12504 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/bahmni-reports.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "bahmni-reports.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 22:38:29 IST", "InactiveEnterTimestampMonotonic": "14433585349", "InactiveExitTimestamp": "Sat 2021-12-18 19:36:42 IST", "InactiveExitTimestampMonotonic": "3526597765", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "bahmni-reports.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/bahmni-reports/bahmni-reports.pid", "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", "RuntimeDirectory": "bahmni-reports", "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": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "0", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  1757.  
  1758. TASK [bahmni-reports : copy bahmni_reports_ssl conf file] **************************************************
  1759. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:70
  1760. ok: [localhost -> localhost] => (item=localhost) => {"changed": false, "checksum": "1af95916877491d945e6c858ba8d9deb74df5403", "dest": "/etc/httpd/conf.d/bahmni_reports_ssl.conf", "failed": false, "gid": 1001, "group": "bahmni", "item": "localhost", "mode": "0644", "owner": "bahmni", "path": "/etc/httpd/conf.d/bahmni_reports_ssl.conf", "size": 163, "state": "file", "uid": 1001}
  1761.  
  1762. TASK [bahmni-reports : Install crontab] ********************************************************************
  1763. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:81
  1764. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["crontabs-1.11-6.20121102git.el7.noarch providing crontabs is already installed"]}
  1765.  
  1766. TASK [bahmni-reports : Remove crontab job for reports directory] *******************************************
  1767. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:84
  1768. ok: [localhost] => {"changed": false, "envs": [], "failed": false, "jobs": []}
  1769.  
  1770. TASK [bahmni-reports : create a cron tab to sync reports directory] ****************************************
  1771. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-reports/tasks/main.yml:87
  1772. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1773. {{ (passive is not defined or passive != 'yes') and hostvars[item].get('passive') | default('') == 'yes' }}
  1774.  
  1775. skipping: [localhost] => (item=localhost) => {"changed": false, "item": "localhost", "skip_reason": "Conditional result was False", "skipped": true}
  1776. META: ran handlers
  1777. META: ran handlers
  1778. [WARNING]: Could not match supplied host pattern, ignoring: bahmni-lab-db-slave
  1779.  
  1780.  
  1781. PLAY [bahmni-lab-db,bahmni-lab-db-slave] *******************************************************************
  1782. META: ran handlers
  1783.  
  1784. TASK [postgres : Check if postgres yum repo rpm is present] ************************************************
  1785. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:1
  1786. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639836412.417346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "binary", "checksum": "3a473175fba0300bcdc11eeb6c2ab56d8c9e2e24", "ctime": 1639711150.1220467, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1539766, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "c05f8f64e471ce5b1d42f10dfc1f8fc1", "mimetype": "application/x-rpm", "mode": "0644", "mtime": 1638233380.0, "nlink": 1, "path": "/opt/pgdg-redhat-repo-latest.noarch.rpm", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8260, "uid": 0, "version": "18446744072549465414", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
  1787.  
  1788. TASK [postgres : Download postgres yum repo rpm if not present] ********************************************
  1789. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:5
  1790. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1791.  
  1792. TASK [postgres : Install postgresql yum repository] ********************************************************
  1793. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:9
  1794. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["pgdg-redhat-repo-42.0-23.noarch providing /opt/pgdg-redhat-repo-latest.noarch.rpm is already installed"]}
  1795.  
  1796. TASK [postgres : Install python-psycopg2] ******************************************************************
  1797. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:12
  1798. changed: [localhost] => {"changed": true, "cmd": ["yum", "-y", "install", "python-psycopg2"], "delta": "0:00:54.304686", "end": "2021-12-18 22:42:17.949196", "failed": false, "rc": 0, "start": "2021-12-18 22:41:23.644510", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nLoading mirror speeds from cached hostfile\n * base: mirrors.isu.net.sa\n * epel: mirror.hoster.kz\n * extras: mirrors.isu.net.sa\n * updates: mirrors.isu.net.sa\nPackage python-psycopg2-2.7.5-1.rhel7.1.x86_64 already installed and latest version\nNothing to do", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Loading mirror speeds from cached hostfile", " * base: mirrors.isu.net.sa", " * epel: mirror.hoster.kz", " * extras: mirrors.isu.net.sa", " * updates: mirrors.isu.net.sa", "Package python-psycopg2-2.7.5-1.rhel7.1.x86_64 already installed and latest version", "Nothing to do"]}
  1799.  
  1800. TASK [postgres : Install postgresql] ***********************************************************************
  1801. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:15
  1802. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["postgresql96-server-9.6.24-1PGDG.rhel7.x86_64 providing postgresql96-server.x86_64 is already installed"]}
  1803.  
  1804. TASK [postgres : Install postgresql-contrib] ***************************************************************
  1805. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:18
  1806. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["postgresql96-contrib-9.6.24-1PGDG.rhel7.x86_64 providing postgresql96-contrib.x86_64 is already installed"]}
  1807.  
  1808. TASK [postgres : Initiate database] ************************************************************************
  1809. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:21
  1810. ok: [localhost] => {"changed": false, "cmd": "/usr/pgsql-9.6/bin/postgresql96-setup initdb", "failed": false, "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"]}
  1811.  
  1812. TASK [postgres : set_fact] *********************************************************************************
  1813. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:24
  1814. ok: [localhost] => {"ansible_facts": {"master": false}, "changed": false, "failed": false}
  1815.  
  1816. TASK [postgres : set_fact] *********************************************************************************
  1817. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:30
  1818. ok: [localhost] => {"ansible_facts": {"slave": false}, "changed": false, "failed": false}
  1819.  
  1820. TASK [postgres : Update postgresql conf with replication configuration] ************************************
  1821. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:36
  1822. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1823.  
  1824. TASK [postgres : insert/update postgres config after "local" is for Unix domain socket connections only line] ***
  1825. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:47
  1826. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  1827.  
  1828. TASK [postgres : insert/update postgres config after IPv4 local connections line] **************************
  1829. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:55
  1830. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  1831.  
  1832. TASK [postgres : insert/update postgres config after IPv6 local connections line] **************************
  1833. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:63
  1834. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  1835.  
  1836. TASK [postgres : Removing recovery config file from master db] *********************************************
  1837. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:72
  1838. ok: [localhost] => {"changed": false, "failed": false, "path": "/var/lib/pgsql/9.6/data/recovery.conf", "state": "absent"}
  1839.  
  1840. TASK [postgres : Get matched IpTable rule] *****************************************************************
  1841. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:81
  1842. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep POSTGRES -m 1 | cut -c 1-2", "delta": "0:00:00.613599", "end": "2021-12-18 22:51:16.020389", "failed": false, "rc": 0, "start": "2021-12-18 22:51:15.406790", "stderr": "", "stderr_lines": [], "stdout": "7 ", "stdout_lines": ["7 "]}
  1843.  
  1844. TASK [postgres : delete matching rule if exists] ***********************************************************
  1845. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:85
  1846. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 7 ", "delta": "0:00:00.010535", "end": "2021-12-18 22:51:16.519846", "failed": false, "rc": 0, "start": "2021-12-18 22:51:16.509311", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  1847.  
  1848. TASK [postgres : Allow postgres port through firewall] *****************************************************
  1849. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:89
  1850. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "5432", "-j", "ACCEPT", "-m", "comment", "--comment", "POSTGRES"], "delta": "0:00:00.058485", "end": "2021-12-18 22:51:16.983942", "failed": false, "rc": 0, "start": "2021-12-18 22:51:16.925457", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  1851.  
  1852. TASK [postgres : save iptables] ****************************************************************************
  1853. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:92
  1854. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:01.465630", "end": "2021-12-18 22:51:18.867767", "failed": false, "rc": 0, "start": "2021-12-18 22:51:17.402137", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  1855.  
  1856. TASK [postgres : Stop PostgreSQL] **************************************************************************
  1857. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:97
  1858. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1859.  
  1860. TASK [postgres : Start PostgreSQL and enable at boot] ******************************************************
  1861. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:103
  1862. ok: [localhost] => {"changed": false, "enabled": true, "failed": false, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:39:03 IST", "ActiveEnterTimestampMonotonic": "67186685", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target syslog.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:42 IST", "AssertTimestampMonotonic": "55687517", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:42 IST", "ConditionTimestampMonotonic": "55687517", "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": "1151", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:44 IST", "ExecMainStartTimestampMonotonic": "56861599", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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": "Sat 2021-12-18 18:38:42 IST", "InactiveExitTimestampMonotonic": "55688012", "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": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1151", "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": "28", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1h", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:39:03 IST", "WatchdogTimestampMonotonic": "67186654", "WatchdogUSec": "0"}}
  1863.  
  1864. TASK [postgres : Create postgres user] *********************************************************************
  1865. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:109
  1866. ok: [localhost] => {"changed": false, "failed": false, "user": "clinlims"}
  1867.  
  1868. TASK [pg_hba : insert/update postgres config after lab_postgres line] **************************************
  1869. task path: /opt/bahmni-installer/bahmni-playbooks/roles/pg_hba/tasks/main.yml:1
  1870. ok: [localhost] => {"changed": false, "failed": false, "msg": ""}
  1871.  
  1872. TASK [pg_hba : Reload postgresql] **************************************************************************
  1873. task path: /opt/bahmni-installer/bahmni-playbooks/roles/pg_hba/tasks/main.yml:28
  1874. changed: [localhost] => {"changed": true, "failed": false, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:39:03 IST", "ActiveEnterTimestampMonotonic": "67186685", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target syslog.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:42 IST", "AssertTimestampMonotonic": "55687517", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:42 IST", "ConditionTimestampMonotonic": "55687517", "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": "1151", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:44 IST", "ExecMainStartTimestampMonotonic": "56861599", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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": "Sat 2021-12-18 18:38:42 IST", "InactiveExitTimestampMonotonic": "55688012", "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": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1151", "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": "28", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1h", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:39:03 IST", "WatchdogTimestampMonotonic": "67186654", "WatchdogUSec": "0"}}
  1875. META: ran handlers
  1876. META: ran handlers
  1877.  
  1878. PLAY [bahmni-lab] ******************************************************************************************
  1879. META: ran handlers
  1880.  
  1881. TASK [installer-config : Fail if implementation name is not provided] **************************************
  1882. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  1883. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1884.  
  1885. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  1886. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  1887. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1888.  
  1889. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  1890. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  1891. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1892.  
  1893. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  1894. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  1895. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1896.  
  1897. TASK [installer-config : add bahmni configuration file] ****************************************************
  1898. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  1899. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1900.  
  1901. TASK [installer-config : Creating Module directory] ********************************************************
  1902. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  1903. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1904.  
  1905. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  1906. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  1907. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1908.  
  1909. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  1910. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  1911. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1912.  
  1913. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  1914. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  1915. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1916.  
  1917. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  1918. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  1919. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  1920.  
  1921. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  1922. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  1923. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1924.  
  1925. TASK [installer-config : Creating backrest log directory] **************************************************
  1926. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  1927. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1928.  
  1929. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  1930. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  1931. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1932.  
  1933. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  1934. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  1935. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1936.  
  1937. TASK [oracle-java : check if java is already downloaded] ***************************************************
  1938. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:1
  1939. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1940.  
  1941. TASK [oracle-java : set_fact] ******************************************************************************
  1942. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:5
  1943. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1944.  
  1945. TASK [oracle-java : Delete java rpm if checksum does not match] ********************************************
  1946. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:9
  1947. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1948.  
  1949. TASK [oracle-java : Download Java] *************************************************************************
  1950. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:13
  1951. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1952.  
  1953. TASK [oracle-java : install oracle java rpm] ***************************************************************
  1954. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:17
  1955. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1956.  
  1957. TASK [oracle-java : Make java available for system] ********************************************************
  1958. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:20
  1959. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1960.  
  1961. TASK [oracle-java : Make javac available for system] *******************************************************
  1962. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:23
  1963. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1964.  
  1965. TASK [oracle-java : Make jar available for system] *********************************************************
  1966. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:27
  1967. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1968.  
  1969. TASK [oracle-java : Set the JAVA_HOME variable] ************************************************************
  1970. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:31
  1971. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1972.  
  1973. TASK [oracle-java : set java_role_ran fact] ****************************************************************
  1974. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:34
  1975. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1976.  
  1977. TASK [bahmni-lab : Check if postgres yum repo rpm is present] **********************************************
  1978. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:1
  1979. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639836412.417346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "binary", "checksum": "3a473175fba0300bcdc11eeb6c2ab56d8c9e2e24", "ctime": 1639711150.1220467, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1539766, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "c05f8f64e471ce5b1d42f10dfc1f8fc1", "mimetype": "application/x-rpm", "mode": "0644", "mtime": 1638233380.0, "nlink": 1, "path": "/opt/pgdg-redhat-repo-latest.noarch.rpm", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8260, "uid": 0, "version": "18446744072549465414", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
  1980.  
  1981. TASK [bahmni-lab : Download postgres yum repo rpm if not present] ******************************************
  1982. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:5
  1983. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1984.  
  1985. TASK [bahmni-lab : Install postgresql yum repository] ******************************************************
  1986. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:9
  1987. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["pgdg-redhat-repo-42.0-23.noarch providing /opt/pgdg-redhat-repo-latest.noarch.rpm is already installed"]}
  1988.  
  1989. TASK [bahmni-lab : Check if bahmni-lab rpm needs an update] ************************************************
  1990. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:12
  1991. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-lab"], "delta": "0:00:10.313712", "end": "2021-12-18 22:52:40.218819", "failed": false, "rc": 0, "start": "2021-12-18 22:52:29.905107", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-lab.noarch 0.93-58 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-lab.noarch 0.93-58 @bahmni"]}
  1992.  
  1993. TASK [bahmni-lab : Uninstall bahmni-lab rpm] ***************************************************************
  1994. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:17
  1995. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  1996. installed_bahmni_lab.stdout.find("{{ bahmni_lab_version }}") == -1
  1997.  
  1998. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  1999.  
  2000. TASK [bahmni-lab : Check if openelis database dump is provided in /etc/bahmni-installer/deployment-artifacts] ***
  2001. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:21
  2002. ok: [localhost -> localhost] => {"changed": false, "failed": false, "stat": {"exists": false}}
  2003.  
  2004. TASK [bahmni-lab : Copy file to remote location if it is available] ****************************************
  2005. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:25
  2006. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2007.  
  2008. TASK [bahmni-lab : Install openelis database dump if provided and database does not exist] *****************
  2009. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:33
  2010. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2011.  
  2012. TASK [bahmni-lab : Install bahmni-lab from bahmni-repo] ****************************************************
  2013. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:38
  2014. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-lab-0.93-58.noarch providing bahmni-lab-0.93-58 is already installed"]}
  2015.  
  2016. TASK [bahmni-lab : Stop bahmni-lab] ************************************************************************
  2017. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:41
  2018. changed: [localhost] => {"changed": true, "failed": false, "name": "bahmni-lab", "state": "stopped", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:51:46 IST", "ActiveEnterTimestampMonotonic": "4430797352", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target network.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:51:46 IST", "AssertTimestampMonotonic": "4430214638", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:51:46 IST", "ConditionTimestampMonotonic": "4430214638", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/bahmni-lab.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Bahmni Lab Service", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21908", "ExecMainStartTimestamp": "Sat 2021-12-18 19:51:46 IST", "ExecMainStartTimestampMonotonic": "4430797301", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/bahmni-lab/bin/bahmni-lab ; argv[]=/opt/bahmni-lab/bin/bahmni-lab restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/bahmni-lab/bin/bahmni-lab ; argv[]=/opt/bahmni-lab/bin/bahmni-lab start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/opt/bahmni-lab/bin/bahmni-lab ; argv[]=/opt/bahmni-lab/bin/bahmni-lab stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/bahmni-lab.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "bahmni-lab.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 19:51:46 IST", "InactiveExitTimestampMonotonic": "4430215532", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "21908", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "bahmni-lab.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/bahmni-lab/bahmni-lab.pid", "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", "RuntimeDirectory": "bahmni-lab", "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": "33", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 19:51:46 IST", "WatchdogTimestampMonotonic": "4430797327", "WatchdogUSec": "0"}}
  2019.  
  2020. TASK [bahmni-lab : Copy bahmni-lab config] *****************************************************************
  2021. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:48
  2022. ok: [localhost] => {"changed": false, "checksum": "f4ffcf7e606b9ddff6ddd91fa07d09612ad13751", "dest": "/etc/bahmni-lab/bahmni-lab.conf", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/etc/bahmni-lab/bahmni-lab.conf", "size": 309, "state": "file", "uid": 1001}
  2023.  
  2024. TASK [bahmni-lab : Copy hibernate config] ******************************************************************
  2025. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:56
  2026. ok: [localhost] => {"changed": false, "checksum": "9fad6c77b6b1c6e8316b98a167e07133f04db9d2", "dest": "/opt/bahmni-lab/bahmni-lab/WEB-INF/classes/us/mn/state/health/lims/hibernate/hibernate.cfg.xml", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/bahmni-lab/bahmni-lab/WEB-INF/classes/us/mn/state/health/lims/hibernate/hibernate.cfg.xml", "size": 17560, "state": "file", "uid": 1001}
  2027.  
  2028. TASK [bahmni-lab : Copy log4j config] **********************************************************************
  2029. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:64
  2030. ok: [localhost] => {"changed": false, "checksum": "72c73af278d6757915dc650c4ade581931115bd2", "dest": "/opt/bahmni-lab/bahmni-lab/WEB-INF/classes/log4j.xml.j2", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/bahmni-lab/bahmni-lab/WEB-INF/classes/log4j.xml.j2", "size": 1506, "state": "file", "uid": 1001}
  2031.  
  2032. TASK [bahmni-lab : Copy atomfeed properties] ***************************************************************
  2033. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:72
  2034. ok: [localhost] => {"changed": false, "checksum": "f0cab91dfffa9d554b0d037f36cfaa2a0538d5c5", "dest": "/opt/bahmni-lab/bahmni-lab/WEB-INF/classes/atomfeed.properties", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/bahmni-lab/bahmni-lab/WEB-INF/classes/atomfeed.properties", "size": 821, "state": "file", "uid": 1001}
  2035.  
  2036. TASK [bahmni-lab : Get matched IpTable rule] ***************************************************************
  2037. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:82
  2038. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep BAHMNILAB -m 1 | cut -c 1-2", "delta": "0:00:00.242860", "end": "2021-12-18 22:53:50.117098", "failed": false, "rc": 0, "start": "2021-12-18 22:53:49.874238", "stderr": "", "stderr_lines": [], "stdout": "8 ", "stdout_lines": ["8 "]}
  2039.  
  2040. TASK [bahmni-lab : delete matching rule if exists] *********************************************************
  2041. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:86
  2042. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 8 ", "delta": "0:00:00.011510", "end": "2021-12-18 22:53:50.600521", "failed": false, "rc": 0, "start": "2021-12-18 22:53:50.589011", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  2043.  
  2044. TASK [bahmni-lab : Allow bahmni-lab port through firewall] *************************************************
  2045. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:90
  2046. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "8052", "-j", "ACCEPT", "-m", "comment", "--comment", "BAHMNILAB"], "delta": "0:00:00.033496", "end": "2021-12-18 22:53:51.007473", "failed": false, "rc": 0, "start": "2021-12-18 22:53:50.973977", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  2047.  
  2048. TASK [bahmni-lab : save iptables] **************************************************************************
  2049. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:93
  2050. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.975655", "end": "2021-12-18 22:53:52.355667", "failed": false, "rc": 0, "start": "2021-12-18 22:53:51.380012", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  2051.  
  2052. TASK [bahmni-lab : Switch off chkconfig for bahmni-lab on passive] *****************************************
  2053. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:98
  2054. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2055.  
  2056. TASK [bahmni-lab : Run openelis liquibase migrations of implementation config] *****************************
  2057. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:102
  2058. changed: [localhost] => {"changed": true, "failed": false, "rc": 0, "stderr": "+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n+ CHANGE_LOG_TABLE='-Dliquibase.databaseChangeLogTableName=databasechangelog -Dliquibase.databaseChangeLogLockTableName=databasechangeloglock'\n+ LIQUIBASE_JAR=/opt/bahmni-lab/migrations/liquibase/lib/liquibase-1.9.5.jar\n+ DRIVER=org.postgresql.Driver\n+ CHANGE_LOG_FILE=liquibase.xml\n++ ls /opt/bahmni-lab/bahmni-lab/WEB-INF/lib/postgresql-9.1-901.jdbc4.jar\n+ CLASSPATH=/opt/bahmni-lab/bahmni-lab/WEB-INF/lib/postgresql-9.1-901.jdbc4.jar\n+ '[' -f /var/www/bahmni_config/openelis/migrations/liquibase.xml ']'\n+ cd /var/www/bahmni_config/openelis/migrations\n+ java -Dliquibase.databaseChangeLogTableName=databasechangelog -Dliquibase.databaseChangeLogLockTableName=databasechangeloglock -jar /opt/bahmni-lab/migrations/liquibase/lib/liquibase-1.9.5.jar --classpath=/opt/bahmni-lab/bahmni-lab/WEB-INF/lib/postgresql-9.1-901.jdbc4.jar --driver=org.postgresql.Driver --changeLogFile=liquibase.xml --defaultSchemaName=clinlims --url=jdbc:postgresql://localhost:5432/clinlims --username=clinlims --password=password update\n+ cd -\n", "stdout": "Migration successful\n/opt/bahmni-installer/bahmni-playbooks\n", "stdout_lines": ["Migration successful", "/opt/bahmni-installer/bahmni-playbooks"]}
  2059.  
  2060. TASK [bahmni-lab : Backup openelis markers, failed_events tables] ******************************************
  2061. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:106
  2062. changed: [localhost -> localhost] => {"changed": true, "failed": false, "rc": 0, "stderr": "+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n++ date +%Y%m%d_%H%M%S\n+ TIME=20211218_225409\n+ pg_dump -U clinlims -a -t markers -t failed_events clinlims\n", "stdout": "", "stdout_lines": []}
  2063.  
  2064. TASK [bahmni-lab : Copy script to update localhost with remote IP in markers] ******************************
  2065. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:110
  2066. ok: [localhost] => {"changed": false, "checksum": "8628eaf4d6f96b3f13124c8ab682859721789ecf", "dest": "/opt/bahmni-lab/add_remote_ip_in_openelis_markers.sh", "failed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/opt/bahmni-lab/add_remote_ip_in_openelis_markers.sh", "size": 633, "state": "file", "uid": 0}
  2067.  
  2068. TASK [bahmni-lab : Update markers with remote IP] **********************************************************
  2069. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:117
  2070. changed: [localhost] => {"changed": true, "cmd": "/opt/bahmni-lab/add_remote_ip_in_openelis_markers.sh", "delta": "0:00:02.297469", "end": "2021-12-18 22:54:14.788719", "failed": false, "rc": 0, "start": "2021-12-18 22:54:12.491250", "stderr": "+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n+ psql -U clinlims -h localhost -c 'UPDATE\n markers\n SET\n feed_uri_for_last_read_entry = regexp_replace(\n feed_uri_for_last_read_entry, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''\n ),\n feed_uri = regexp_replace(\n feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''\n ) where feed_uri ~ '\\''openmrs'\\'';'\n+ psql -U clinlims -h localhost -c ' UPDATE\n failed_events\n SET\n feed_uri = regexp_replace(\n feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''\n )\n where feed_uri ~'\\''openmrs'\\'';'", "stderr_lines": ["+ . /etc/bahmni-installer/bahmni.conf", "++ IMPLEMENTATION_NAME=default", "++ OPENMRS_DB_USERNAME=openmrs-user", "++ OPENMRS_DB_PASSWORD=P@ssw0rd", "++ OPENMRS_DB_SERVER=localhost", "++ OPENELIS_DB_USERNAME=clinlims", "++ OPENELIS_DB_PASSWORD=password", "++ OPENELIS_DB_SERVER=localhost", "++ OPENERP_DB_USERNAME=odoo", "++ OPENERP_DB_PASSWORD=password", "++ OPENERP_DB_SERVER=localhost", "++ MYSQL_ROOT_USER=root", "++ MYSQL_ROOT_PASSWORD=P@ssw0rd", "++ REPORTS_DB_SERVER=localhost", "++ REPORTS_DB_PASSWORD=P@ssw0rd", "++ REPORTS_DB_USERNAME=reports-user", "+ psql -U clinlims -h localhost -c 'UPDATE", " markers", " SET", " feed_uri_for_last_read_entry = regexp_replace(", " feed_uri_for_last_read_entry, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''", " ),", " feed_uri = regexp_replace(", " feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''", " ) where feed_uri ~ '\\''openmrs'\\'';'", "+ psql -U clinlims -h localhost -c ' UPDATE", " failed_events", " SET", " feed_uri = regexp_replace(", " feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''", " )", " where feed_uri ~'\\''openmrs'\\'';'"], "stdout": "UPDATE 1\nUPDATE 0", "stdout_lines": ["UPDATE 1", "UPDATE 0"]}
  2071.  
  2072. TASK [bahmni-lab : Start bahmni-lab and enable at boot] ****************************************************
  2073. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:121
  2074. changed: [localhost] => {"changed": true, "enabled": true, "failed": false, "name": "bahmni-lab", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 19:51:46 IST", "ActiveEnterTimestampMonotonic": "4430797352", "ActiveExitTimestamp": "Sat 2021-12-18 22:53:45 IST", "ActiveExitTimestampMonotonic": "15349105969", "ActiveState": "inactive", "After": "network-online.target network.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 19:51:46 IST", "AssertTimestampMonotonic": "4430214638", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 19:51:46 IST", "ConditionTimestampMonotonic": "4430214638", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/bahmni-lab.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Bahmni Lab Service", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21908", "ExecMainStartTimestamp": "Sat 2021-12-18 19:51:46 IST", "ExecMainStartTimestampMonotonic": "4430797301", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/bahmni-lab/bin/bahmni-lab ; argv[]=/opt/bahmni-lab/bin/bahmni-lab restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/bahmni-lab/bin/bahmni-lab ; argv[]=/opt/bahmni-lab/bin/bahmni-lab start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/opt/bahmni-lab/bin/bahmni-lab ; argv[]=/opt/bahmni-lab/bin/bahmni-lab stop ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:53:45 IST] ; stop_time=[Sat 2021-12-18 22:53:45 IST] ; pid=15575 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/bahmni-lab.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "bahmni-lab.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 22:53:45 IST", "InactiveEnterTimestampMonotonic": "15350008204", "InactiveExitTimestamp": "Sat 2021-12-18 19:51:46 IST", "InactiveExitTimestampMonotonic": "4430215532", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "bahmni-lab.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/bahmni-lab/bahmni-lab.pid", "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", "RuntimeDirectory": "bahmni-lab", "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": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "0", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  2075.  
  2076. TASK [bahmni-lab : copy bahmnilab_ssl conf file] ***********************************************************
  2077. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:129
  2078. ok: [localhost -> localhost] => (item=localhost) => {"changed": false, "checksum": "a0cffce52d18feb8bbe0b1d14b126b92afef55f0", "dest": "/etc/httpd/conf.d/bahmnilab_ssl.conf", "failed": false, "gid": 1001, "group": "bahmni", "item": "localhost", "mode": "0644", "owner": "bahmni", "path": "/etc/httpd/conf.d/bahmnilab_ssl.conf", "size": 143, "state": "file", "uid": 1001}
  2079. META: ran handlers
  2080. META: ran handlers
  2081.  
  2082. PLAY [bahmni-emr] ******************************************************************************************
  2083. META: ran handlers
  2084.  
  2085. TASK [installer-config : Fail if implementation name is not provided] **************************************
  2086. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  2087. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2088. {{ groups['bahmni-lab'] | length }} > 0
  2089.  
  2090. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2091.  
  2092. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  2093. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  2094. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2095. {{ groups['bahmni-lab'] | length }} > 0
  2096.  
  2097. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2098.  
  2099. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  2100. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  2101. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2102. {{ groups['bahmni-lab'] | length }} > 0
  2103.  
  2104. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2105.  
  2106. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  2107. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  2108. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2109. {{ groups['bahmni-lab'] | length }} > 0
  2110.  
  2111. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2112.  
  2113. TASK [installer-config : add bahmni configuration file] ****************************************************
  2114. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  2115. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2116. {{ groups['bahmni-lab'] | length }} > 0
  2117.  
  2118. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2119.  
  2120. TASK [installer-config : Creating Module directory] ********************************************************
  2121. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  2122. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2123. {{ groups['bahmni-lab'] | length }} > 0
  2124.  
  2125. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2126.  
  2127. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  2128. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  2129. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2130. {{ groups['bahmni-lab'] | length }} > 0
  2131.  
  2132. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2133.  
  2134. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  2135. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  2136. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2137. {{ groups['bahmni-lab'] | length }} > 0
  2138.  
  2139. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2140.  
  2141. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  2142. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  2143. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2144. {{ groups['bahmni-lab'] | length }} > 0
  2145.  
  2146. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2147.  
  2148. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  2149. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  2150. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2151. {{ groups['bahmni-lab'] | length }} > 0
  2152.  
  2153. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  2154.  
  2155. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  2156. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  2157. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2158. {{ groups['bahmni-lab'] | length }} > 0
  2159.  
  2160. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2161.  
  2162. TASK [installer-config : Creating backrest log directory] **************************************************
  2163. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  2164. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2165. {{ groups['bahmni-lab'] | length }} > 0
  2166.  
  2167. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2168.  
  2169. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  2170. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  2171. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2172. {{ groups['bahmni-lab'] | length }} > 0
  2173.  
  2174. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2175.  
  2176. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  2177. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  2178. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2179. {{ groups['bahmni-lab'] | length }} > 0
  2180.  
  2181. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2182.  
  2183. TASK [bahmni-lab-connect : Check if bahmni-lab-connect rpm needs an update] ********************************
  2184. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab-connect/tasks/main.yml:1
  2185. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2186. {{ groups['bahmni-lab'] | length }} > 0
  2187.  
  2188. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-lab-connect"], "delta": "0:00:12.226665", "end": "2021-12-18 22:54:34.750063", "failed": false, "rc": 0, "start": "2021-12-18 22:54:22.523398", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-lab-connect.noarch 0.93-131 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-lab-connect.noarch 0.93-131 @bahmni"]}
  2189.  
  2190. TASK [bahmni-lab-connect : Uninstall bahmni-lab-connect rpm] ***********************************************
  2191. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab-connect/tasks/main.yml:6
  2192. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2193. {{ groups['bahmni-lab'] | length }} > 0
  2194.  
  2195. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2196. installed_bahmni_lab_connect.stdout.find("{{ bahmni_lab_connect_version }}") == -1
  2197.  
  2198. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2199.  
  2200. TASK [bahmni-lab-connect : Stop openmrs and bahmni-emr] ****************************************************
  2201. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab-connect/tasks/main.yml:10
  2202. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2203. {{ groups['bahmni-lab'] | length }} > 0
  2204.  
  2205. changed: [localhost] => {"changed": true, "failed": false, "name": "openmrs", "state": "stopped", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 22:36:06 IST", "ActiveEnterTimestampMonotonic": "14290330785", "ActiveExitTimestamp": "Sat 2021-12-18 22:35:46 IST", "ActiveExitTimestampMonotonic": "14270962521", "ActiveState": "active", "After": "basic.target network.service system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 22:36:06 IST", "AssertTimestampMonotonic": "14290136011", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 22:36:06 IST", "ConditionTimestampMonotonic": "14290136010", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/openmrs.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "OpenMRS Server", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10928", "ExecMainStartTimestamp": "Sat 2021-12-18 22:36:06 IST", "ExecMainStartTimestampMonotonic": "14290330733", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs start ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:36:06 IST] ; stop_time=[Sat 2021-12-18 22:36:06 IST] ; pid=10914 ; code=exited ; status=0 }", "ExecStop": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs stop ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:35:46 IST] ; stop_time=[Sat 2021-12-18 22:35:47 IST] ; pid=10187 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/openmrs.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "openmrs.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 22:35:47 IST", "InactiveEnterTimestampMonotonic": "14271841264", "InactiveExitTimestamp": "Sat 2021-12-18 22:36:06 IST", "InactiveExitTimestampMonotonic": "14290136348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10928", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "openmrs.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/openmrs/openmrs.pid", "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", "RuntimeDirectory": "openmrs", "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": "69", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 22:36:06 IST", "WatchdogTimestampMonotonic": "14290330759", "WatchdogUSec": "0"}}
  2206.  
  2207. TASK [bahmni-lab-connect : Install bahmni-lab-connect from bahmni-repo] ************************************
  2208. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab-connect/tasks/main.yml:13
  2209. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2210. {{ groups['bahmni-lab'] | length }} > 0
  2211.  
  2212. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-lab-connect-0.93-131.noarch providing bahmni-lab-connect-0.93-131 is already installed"]}
  2213.  
  2214. TASK [bahmni-lab-connect : Start openmrs and bahmni-emr] ***************************************************
  2215. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab-connect/tasks/main.yml:16
  2216. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2217. {{ groups['bahmni-lab'] | length }} > 0
  2218.  
  2219. changed: [localhost] => {"changed": true, "failed": false, "name": "openmrs", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 22:36:06 IST", "ActiveEnterTimestampMonotonic": "14290330785", "ActiveExitTimestamp": "Sat 2021-12-18 22:54:37 IST", "ActiveExitTimestampMonotonic": "15401895119", "ActiveState": "inactive", "After": "basic.target network.service system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 22:36:06 IST", "AssertTimestampMonotonic": "14290136011", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 22:36:06 IST", "ConditionTimestampMonotonic": "14290136010", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/openmrs.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "OpenMRS Server", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10928", "ExecMainStartTimestamp": "Sat 2021-12-18 22:36:06 IST", "ExecMainStartTimestampMonotonic": "14290330733", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs start ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:36:06 IST] ; stop_time=[Sat 2021-12-18 22:36:06 IST] ; pid=10914 ; code=exited ; status=0 }", "ExecStop": "{ path=/opt/openmrs/bin/openmrs ; argv[]=/opt/openmrs/bin/openmrs stop ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:54:37 IST] ; stop_time=[Sat 2021-12-18 22:54:38 IST] ; pid=16285 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/openmrs.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "openmrs.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 22:54:38 IST", "InactiveEnterTimestampMonotonic": "15402116370", "InactiveExitTimestamp": "Sat 2021-12-18 22:36:06 IST", "InactiveExitTimestampMonotonic": "14290136348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "openmrs.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/openmrs/openmrs.pid", "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", "RuntimeDirectory": "openmrs", "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": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "0", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  2220. META: ran handlers
  2221. META: ran handlers
  2222. [WARNING]: Could not match supplied host pattern, ignoring: bahmni-erp-db-slave
  2223.  
  2224.  
  2225. PLAY [bahmni-erp-db:bahmni-erp-db-slave] *******************************************************************
  2226. META: ran handlers
  2227.  
  2228. TASK [postgres : Check if postgres yum repo rpm is present] ************************************************
  2229. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:1
  2230. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639836412.417346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "binary", "checksum": "3a473175fba0300bcdc11eeb6c2ab56d8c9e2e24", "ctime": 1639711150.1220467, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1539766, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "c05f8f64e471ce5b1d42f10dfc1f8fc1", "mimetype": "application/x-rpm", "mode": "0644", "mtime": 1638233380.0, "nlink": 1, "path": "/opt/pgdg-redhat-repo-latest.noarch.rpm", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8260, "uid": 0, "version": "18446744072549465414", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
  2231.  
  2232. TASK [postgres : Download postgres yum repo rpm if not present] ********************************************
  2233. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:5
  2234. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2235.  
  2236. TASK [postgres : Install postgresql yum repository] ********************************************************
  2237. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:9
  2238. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["pgdg-redhat-repo-42.0-23.noarch providing /opt/pgdg-redhat-repo-latest.noarch.rpm is already installed"]}
  2239.  
  2240. TASK [postgres : Install python-psycopg2] ******************************************************************
  2241. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:12
  2242. changed: [localhost] => {"changed": true, "cmd": ["yum", "-y", "install", "python-psycopg2"], "delta": "0:00:10.091177", "end": "2021-12-18 22:55:22.525378", "failed": false, "rc": 0, "start": "2021-12-18 22:55:12.434201", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nLoading mirror speeds from cached hostfile\n * base: mirrors.isu.net.sa\n * epel: mirror.hoster.kz\n * extras: mirrors.isu.net.sa\n * updates: mirrors.isu.net.sa\nPackage python-psycopg2-2.7.5-1.rhel7.1.x86_64 already installed and latest version\nNothing to do", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Loading mirror speeds from cached hostfile", " * base: mirrors.isu.net.sa", " * epel: mirror.hoster.kz", " * extras: mirrors.isu.net.sa", " * updates: mirrors.isu.net.sa", "Package python-psycopg2-2.7.5-1.rhel7.1.x86_64 already installed and latest version", "Nothing to do"]}
  2243.  
  2244. TASK [postgres : Install postgresql] ***********************************************************************
  2245. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:15
  2246. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["postgresql96-server-9.6.24-1PGDG.rhel7.x86_64 providing postgresql96-server.x86_64 is already installed"]}
  2247.  
  2248. TASK [postgres : Install postgresql-contrib] ***************************************************************
  2249. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:18
  2250. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["postgresql96-contrib-9.6.24-1PGDG.rhel7.x86_64 providing postgresql96-contrib.x86_64 is already installed"]}
  2251.  
  2252. TASK [postgres : Initiate database] ************************************************************************
  2253. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:21
  2254. ok: [localhost] => {"changed": false, "cmd": "/usr/pgsql-9.6/bin/postgresql96-setup initdb", "failed": false, "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"]}
  2255.  
  2256. TASK [postgres : set_fact] *********************************************************************************
  2257. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:24
  2258. ok: [localhost] => {"ansible_facts": {"master": false}, "changed": false, "failed": false}
  2259.  
  2260. TASK [postgres : set_fact] *********************************************************************************
  2261. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:30
  2262. ok: [localhost] => {"ansible_facts": {"slave": false}, "changed": false, "failed": false}
  2263.  
  2264. TASK [postgres : Update postgresql conf with replication configuration] ************************************
  2265. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:36
  2266. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2267.  
  2268. TASK [postgres : insert/update postgres config after "local" is for Unix domain socket connections only line] ***
  2269. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:47
  2270. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  2271.  
  2272. TASK [postgres : insert/update postgres config after IPv4 local connections line] **************************
  2273. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:55
  2274. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  2275.  
  2276. TASK [postgres : insert/update postgres config after IPv6 local connections line] **************************
  2277. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:63
  2278. ok: [localhost] => {"backup": "", "changed": false, "failed": false, "msg": ""}
  2279.  
  2280. TASK [postgres : Removing recovery config file from master db] *********************************************
  2281. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:72
  2282. ok: [localhost] => {"changed": false, "failed": false, "path": "/var/lib/pgsql/9.6/data/recovery.conf", "state": "absent"}
  2283.  
  2284. TASK [postgres : Get matched IpTable rule] *****************************************************************
  2285. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:81
  2286. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep POSTGRES -m 1 | cut -c 1-2", "delta": "0:00:01.309387", "end": "2021-12-18 22:55:40.831135", "failed": false, "rc": 0, "start": "2021-12-18 22:55:39.521748", "stderr": "", "stderr_lines": [], "stdout": "2 ", "stdout_lines": ["2 "]}
  2287.  
  2288. TASK [postgres : delete matching rule if exists] ***********************************************************
  2289. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:85
  2290. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 2 ", "delta": "0:00:00.058484", "end": "2021-12-18 22:55:42.181047", "failed": false, "rc": 0, "start": "2021-12-18 22:55:42.122563", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  2291.  
  2292. TASK [postgres : Allow postgres port through firewall] *****************************************************
  2293. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:89
  2294. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "5432", "-j", "ACCEPT", "-m", "comment", "--comment", "POSTGRES"], "delta": "0:00:00.053909", "end": "2021-12-18 22:55:43.496875", "failed": false, "rc": 0, "start": "2021-12-18 22:55:43.442966", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  2295.  
  2296. TASK [postgres : save iptables] ****************************************************************************
  2297. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:92
  2298. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.891490", "end": "2021-12-18 22:55:45.909552", "failed": false, "rc": 0, "start": "2021-12-18 22:55:45.018062", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  2299.  
  2300. TASK [postgres : Stop PostgreSQL] **************************************************************************
  2301. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:97
  2302. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2303.  
  2304. TASK [postgres : Start PostgreSQL and enable at boot] ******************************************************
  2305. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:103
  2306. ok: [localhost] => {"changed": false, "enabled": true, "failed": false, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:39:03 IST", "ActiveEnterTimestampMonotonic": "67186685", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target syslog.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:42 IST", "AssertTimestampMonotonic": "55687517", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:42 IST", "ConditionTimestampMonotonic": "55687517", "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": "1151", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:44 IST", "ExecMainStartTimestampMonotonic": "56861599", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:51:23 IST] ; stop_time=[Sat 2021-12-18 22:51:24 IST] ; pid=15063 ; code=exited ; status=0 }", "ExecStart": "{ path=/usr/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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": "Sat 2021-12-18 18:38:42 IST", "InactiveExitTimestampMonotonic": "55688012", "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": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1151", "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": "27", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1h", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:39:03 IST", "WatchdogTimestampMonotonic": "67186654", "WatchdogUSec": "0"}}
  2307.  
  2308. TASK [postgres : Create postgres user] *********************************************************************
  2309. task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:109
  2310. ok: [localhost] => {"changed": false, "failed": false, "user": "odoo"}
  2311.  
  2312. TASK [pg_hba : insert/update postgres config after lab_postgres line] **************************************
  2313. task path: /opt/bahmni-installer/bahmni-playbooks/roles/pg_hba/tasks/main.yml:1
  2314. ok: [localhost] => {"changed": false, "failed": false, "msg": ""}
  2315.  
  2316. TASK [pg_hba : Reload postgresql] **************************************************************************
  2317. task path: /opt/bahmni-installer/bahmni-playbooks/roles/pg_hba/tasks/main.yml:28
  2318. changed: [localhost] => {"changed": true, "failed": false, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 18:39:03 IST", "ActiveEnterTimestampMonotonic": "67186685", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target syslog.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 18:38:42 IST", "AssertTimestampMonotonic": "55687517", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 18:38:42 IST", "ConditionTimestampMonotonic": "55687517", "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": "1151", "ExecMainStartTimestamp": "Sat 2021-12-18 18:38:44 IST", "ExecMainStartTimestampMonotonic": "56861599", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:51:23 IST] ; stop_time=[Sat 2021-12-18 22:51:24 IST] ; pid=15063 ; code=exited ; status=0 }", "ExecStart": "{ path=/usr/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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": "Sat 2021-12-18 18:38:42 IST", "InactiveExitTimestampMonotonic": "55688012", "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": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1151", "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": "27", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1h", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 18:39:03 IST", "WatchdogTimestampMonotonic": "67186654", "WatchdogUSec": "0"}}
  2319. META: ran handlers
  2320. META: ran handlers
  2321.  
  2322. PLAY [bahmni-erp] ******************************************************************************************
  2323. META: ran handlers
  2324.  
  2325. TASK [installer-config : Fail if implementation name is not provided] **************************************
  2326. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  2327. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2328.  
  2329. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  2330. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  2331. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2332.  
  2333. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  2334. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  2335. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2336.  
  2337. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  2338. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  2339. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2340.  
  2341. TASK [installer-config : add bahmni configuration file] ****************************************************
  2342. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  2343. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2344.  
  2345. TASK [installer-config : Creating Module directory] ********************************************************
  2346. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  2347. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2348.  
  2349. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  2350. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  2351. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2352.  
  2353. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  2354. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  2355. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2356.  
  2357. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  2358. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  2359. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2360.  
  2361. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  2362. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  2363. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  2364.  
  2365. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  2366. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  2367. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2368.  
  2369. TASK [installer-config : Creating backrest log directory] **************************************************
  2370. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  2371. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2372.  
  2373. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  2374. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  2375. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2376.  
  2377. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  2378. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  2379. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2380.  
  2381. TASK [bahmni-odoo : Check if postgres yum repo rpm is present] *********************************************
  2382. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:2
  2383. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639836412.417346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "binary", "checksum": "3a473175fba0300bcdc11eeb6c2ab56d8c9e2e24", "ctime": 1639711150.1220467, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1539766, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "c05f8f64e471ce5b1d42f10dfc1f8fc1", "mimetype": "application/x-rpm", "mode": "0644", "mtime": 1638233380.0, "nlink": 1, "path": "/opt/pgdg-redhat-repo-latest.noarch.rpm", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8260, "uid": 0, "version": "18446744072549465414", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
  2384.  
  2385. TASK [bahmni-odoo : Download postgres yum repo rpm if not present] *****************************************
  2386. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:6
  2387. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2388.  
  2389. TASK [bahmni-odoo : Install postgresql yum repository] *****************************************************
  2390. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:10
  2391. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["pgdg-redhat-repo-42.0-23.noarch providing /opt/pgdg-redhat-repo-latest.noarch.rpm is already installed"]}
  2392.  
  2393. TASK [bahmni-odoo : Install curl] **************************************************************************
  2394. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:13
  2395. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["curl-7.29.0-59.el7_9.1.x86_64 providing curl is already installed"]}
  2396.  
  2397. TASK [bahmni-odoo : Install nodesoure 10.x] ****************************************************************
  2398. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:17
  2399. [WARNING]: Consider using get_url or uri module rather than running curl
  2400.  
  2401. changed: [localhost] => {"changed": true, "cmd": "curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -", "delta": "0:00:34.151481", "end": "2021-12-18 22:56:44.270564", "failed": false, "rc": 0, "start": "2021-12-18 22:56:10.119083", "stderr": "", "stderr_lines": [], "stdout": "\n================================================================================\n================================================================================\n\n DEPRECATION WARNING \n\n Node.js 10.x is no longer actively supported!\n\n You will not receive security or critical stability updates for this version.\n\n You should migrate to a supported version of Node.js as soon as possible.\n Use the installation script that corresponds to the version of Node.js you\n wish to install. e.g.\n\n * https://rpm.nodesource.com/setup_12.x - Node.js v12 LTS \"Erbium\"\n * https://rpm.nodesource.com/setup_14.x - Node.js v14 LTS \"Fermium\" (recommended)\n * https://rpm.nodesource.com/setup_16.x - Node.js v16 \"Gallium\"\n\n Please see https://github.com/nodejs/Release for details about which\n version may be appropriate for you.\n\n The NodeSource Node.js distributions repository contains\n information both about supported versions of Node.js and supported Linux\n distributions. To learn more about usage, see the repository:\n https://github.com/nodesource/distributions\n\n================================================================================\n================================================================================\n\nContinuing in 20 seconds ...\n\n\n## Installing the NodeSource Node.js 10.x repo...\n\n\n## Inspecting system...\n\n+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release || rpm -q --whatprovides fedora-release\n+ uname -m\n\n## Confirming \"el7-x86_64\" is supported...\n\n+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'\n\n## Downloading release setup RPM...\n\n+ mktemp\n+ curl -sL -o '/tmp/tmp.wHIU4rEj8S' 'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'\n\n## Installing release setup RPM...\n\n+ rpm -i --nosignature --force '/tmp/tmp.wHIU4rEj8S'\n\n## Cleaning up...\n\n+ rm -f '/tmp/tmp.wHIU4rEj8S'\n\n## Checking for existing installations...\n\n+ rpm -qa 'node|npm' | grep -v nodesource\n\n## Run `sudo yum install -y nodejs` to install Node.js 10.x and npm.\n## You may run dnf if yum is not available:\n sudo dnf install -y nodejs\n## You may also need development tools to build native addons:\n sudo yum install gcc-c++ make\n## To install the Yarn package manager, run:\n curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo\n sudo yum install yarn", "stdout_lines": ["", "================================================================================", "================================================================================", "", " DEPRECATION WARNING ", "", " Node.js 10.x is no longer actively supported!", "", " You will not receive security or critical stability updates for this version.", "", " You should migrate to a supported version of Node.js as soon as possible.", " Use the installation script that corresponds to the version of Node.js you", " wish to install. e.g.", "", " * https://rpm.nodesource.com/setup_12.x - Node.js v12 LTS \"Erbium\"", " * https://rpm.nodesource.com/setup_14.x - Node.js v14 LTS \"Fermium\" (recommended)", " * https://rpm.nodesource.com/setup_16.x - Node.js v16 \"Gallium\"", "", " Please see https://github.com/nodejs/Release for details about which", " version may be appropriate for you.", "", " The NodeSource Node.js distributions repository contains", " information both about supported versions of Node.js and supported Linux", " distributions. To learn more about usage, see the repository:", " https://github.com/nodesource/distributions", "", "================================================================================", "================================================================================", "", "Continuing in 20 seconds ...", "", "", "## Installing the NodeSource Node.js 10.x repo...", "", "", "## Inspecting system...", "", "+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release || rpm -q --whatprovides fedora-release", "+ uname -m", "", "## Confirming \"el7-x86_64\" is supported...", "", "+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'", "", "## Downloading release setup RPM...", "", "+ mktemp", "+ curl -sL -o '/tmp/tmp.wHIU4rEj8S' 'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'", "", "## Installing release setup RPM...", "", "+ rpm -i --nosignature --force '/tmp/tmp.wHIU4rEj8S'", "", "## Cleaning up...", "", "+ rm -f '/tmp/tmp.wHIU4rEj8S'", "", "## Checking for existing installations...", "", "+ rpm -qa 'node|npm' | grep -v nodesource", "", "## Run `sudo yum install -y nodejs` to install Node.js 10.x and npm.", "## You may run dnf if yum is not available:", " sudo dnf install -y nodejs", "## You may also need development tools to build native addons:", " sudo yum install gcc-c++ make", "## To install the Yarn package manager, run:", " curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo", " sudo yum install yarn"]}
  2402.  
  2403. TASK [bahmni-odoo : Install odoo UI dependecncies] *********************************************************
  2404. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:21
  2405. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["2:nodejs-10.24.1-1nodesource.x86_64 providing nodejs is already installed"]}
  2406.  
  2407. TASK [bahmni-odoo : Install "less, less-plugin-clean-css" node.js package globally.] ***********************
  2408. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:25
  2409. changed: [localhost] => (item=less@3.11.1) => {"changed": true, "failed": false, "item": "less@3.11.1"}
  2410. ok: [localhost] => (item=less-plugin-clean-css) => {"changed": false, "failed": false, "item": "less-plugin-clean-css"}
  2411.  
  2412. TASK [bahmni-odoo : Check if bahmni-erp rpm needs an update] ***********************************************
  2413. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:33
  2414. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-erp"], "delta": "0:00:07.680551", "end": "2021-12-18 22:58:04.877586", "failed": false, "rc": 0, "start": "2021-12-18 22:57:57.197035", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-erp.noarch 0.93-76 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-erp.noarch 0.93-76 @bahmni"]}
  2415.  
  2416. TASK [bahmni-odoo : Uninstall bahmni-erp rpm] **************************************************************
  2417. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:38
  2418. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2419. installed_bahmni_erp.stdout.find("{{ bahmni_erp_version }}") == -1
  2420.  
  2421. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2422.  
  2423. TASK [bahmni-odoo : Check if Odoo database dump is provided in /etc/bahmni-installer/deployment-artifacts] ***
  2424. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:42
  2425. ok: [localhost -> localhost] => {"changed": false, "failed": false, "stat": {"exists": false}}
  2426.  
  2427. TASK [bahmni-odoo : Copy file to remote location if it is available] ***************************************
  2428. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:46
  2429. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2430.  
  2431. TASK [bahmni-odoo : Install Odoo database dump if provided and database does not exist] ********************
  2432. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:54
  2433. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2434.  
  2435. TASK [bahmni-odoo : Install bahmni-erp from bahmni-repo] ***************************************************
  2436. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:59
  2437. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-erp-0.93-76.noarch providing bahmni-erp-0.93-76 is already installed"]}
  2438.  
  2439. TASK [bahmni-odoo : Stop Odoo] *****************************************************************************
  2440. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:62
  2441. changed: [localhost] => {"changed": true, "failed": false, "name": "odoo", "state": "stopped", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 20:35:19 IST", "ActiveEnterTimestampMonotonic": "7043962212", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target systemd-journald.socket harddrake.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 20:35:06 IST", "AssertTimestampMonotonic": "7030827989", "Before": "graphical.target 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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 20:35:06 IST", "ConditionTimestampMonotonic": "7030827988", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/odoo.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "LSB: Launches the Odoo server.", "DevicePolicy": "auto", "Documentation": "man:systemd-sysv-generator(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9649", "ExecMainStartTimestamp": "Sat 2021-12-18 20:35:19 IST", "ExecMainStartTimestampMonotonic": "7043960611", "ExecMainStatus": "0", "ExecReload": "{ path=/etc/rc.d/init.d/odoo ; argv[]=/etc/rc.d/init.d/odoo reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/etc/rc.d/init.d/odoo ; argv[]=/etc/rc.d/init.d/odoo start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/etc/rc.d/init.d/odoo ; argv[]=/etc/rc.d/init.d/odoo stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/run/systemd/generator.late/odoo.service", "GuessMainPID": "no", "IOScheduling": "0", "Id": "odoo.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 20:35:06 IST", "InactiveExitTimestampMonotonic": "7030870159", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9649", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "odoo.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/odoo/odoo-server.pid", "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", "SourcePath": "/etc/rc.d/init.d/odoo", "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": "4", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "5min", "TimeoutStopUSec": "5min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "bad", "WantedBy": "graphical.target multi-user.target", "Wants": "network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  2442.  
  2443. TASK [bahmni-odoo : Copy odoo server template] *************************************************************
  2444. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:69
  2445. ok: [localhost] => {"changed": false, "checksum": "cd14fbd6ddf2d6045d88fb9c386627e7ea483218", "dest": "/etc/odoo.conf", "failed": false, "gid": 1003, "group": "odoo", "mode": "0655", "owner": "odoo", "path": "/etc/odoo.conf", "size": 316, "state": "file", "uid": 1003}
  2446.  
  2447. TASK [bahmni-odoo : Get matched IpTable rule] **************************************************************
  2448. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:74
  2449. changed: [localhost] => {"changed": true, "cmd": "iptables -nL --line-numbers | grep BAHMNIERP -m 1 | cut -c 1-2", "delta": "0:00:01.021883", "end": "2021-12-18 22:59:06.795792", "failed": false, "rc": 0, "start": "2021-12-18 22:59:05.773909", "stderr": "", "stderr_lines": [], "stdout": "8 ", "stdout_lines": ["8 "]}
  2450.  
  2451. TASK [bahmni-odoo : delete matching rule if exists] ********************************************************
  2452. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:78
  2453. changed: [localhost] => {"changed": true, "cmd": "iptables -D INPUT 8 ", "delta": "0:00:00.010561", "end": "2021-12-18 22:59:07.774837", "failed": false, "rc": 0, "start": "2021-12-18 22:59:07.764276", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  2454.  
  2455. TASK [bahmni-odoo : Allow Odoo port through firewall] ******************************************************
  2456. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:82
  2457. changed: [localhost] => {"changed": true, "cmd": ["/sbin/iptables", "-I", "INPUT", "1", "-p", "tcp", "--dport", "8069", "-j", "ACCEPT", "-m", "comment", "--comment", "BAHMNIERP"], "delta": "0:00:00.049933", "end": "2021-12-18 22:59:08.874492", "failed": false, "rc": 0, "start": "2021-12-18 22:59:08.824559", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  2458.  
  2459. TASK [bahmni-odoo : save iptables] *************************************************************************
  2460. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:85
  2461. changed: [localhost] => {"changed": true, "cmd": ["/usr/libexec/iptables/iptables.init", "save"], "delta": "0:00:00.825427", "end": "2021-12-18 22:59:10.993770", "failed": false, "rc": 0, "start": "2021-12-18 22:59:10.168343", "stderr": "", "stderr_lines": [], "stdout": "iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]", "stdout_lines": ["iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]"]}
  2462.  
  2463. TASK [bahmni-odoo : Switch off chkconfig for Odoo on passive] **********************************************
  2464. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:90
  2465. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2466.  
  2467. TASK [bahmni-odoo : Change ssl.conf file] ******************************************************************
  2468. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:94
  2469. changed: [localhost -> localhost] => (item=localhost) => {"changed": true, "failed": false, "item": "localhost", "msg": "Block inserted"}
  2470.  
  2471. TASK [bahmni-odoo : Start Odoo and enable at boot] *********************************************************
  2472. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-odoo/tasks/main.yml:112
  2473. changed: [localhost] => {"changed": true, "enabled": true, "failed": false, "name": "odoo", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 20:35:19 IST", "ActiveEnterTimestampMonotonic": "7043962212", "ActiveExitTimestamp": "Sat 2021-12-18 22:58:41 IST", "ActiveExitTimestampMonotonic": "15645893300", "ActiveState": "failed", "After": "network-online.target systemd-journald.socket harddrake.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 20:35:06 IST", "AssertTimestampMonotonic": "7030827989", "Before": "graphical.target 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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 20:35:06 IST", "ConditionTimestampMonotonic": "7030827988", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "LSB: Launches the Odoo server.", "DevicePolicy": "auto", "Documentation": "man:systemd-sysv-generator(8)", "ExecMainCode": "2", "ExecMainExitTimestamp": "Sat 2021-12-18 22:59:04 IST", "ExecMainExitTimestampMonotonic": "15668362681", "ExecMainPID": "9649", "ExecMainStartTimestamp": "Sat 2021-12-18 20:35:19 IST", "ExecMainStartTimestampMonotonic": "7043960611", "ExecMainStatus": "9", "ExecReload": "{ path=/etc/rc.d/init.d/odoo ; argv[]=/etc/rc.d/init.d/odoo reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/etc/rc.d/init.d/odoo ; argv[]=/etc/rc.d/init.d/odoo start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/etc/rc.d/init.d/odoo ; argv[]=/etc/rc.d/init.d/odoo stop ; ignore_errors=no ; start_time=[Sat 2021-12-18 22:58:41 IST] ; stop_time=[Sat 2021-12-18 22:59:04 IST] ; pid=17640 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/run/systemd/generator.late/odoo.service", "GuessMainPID": "no", "IOScheduling": "0", "Id": "odoo.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "no", "InactiveEnterTimestamp": "Sat 2021-12-18 22:59:04 IST", "InactiveEnterTimestampMonotonic": "15668362769", "InactiveExitTimestamp": "Sat 2021-12-18 20:35:06 IST", "InactiveExitTimestampMonotonic": "7030870159", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "odoo.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/odoo/odoo-server.pid", "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": "signal", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SourcePath": "/etc/rc.d/init.d/odoo", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "failed", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "5min", "TimeoutStopUSec": "5min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "bad", "WantedBy": "graphical.target multi-user.target", "Wants": "network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  2474. META: ran handlers
  2475. META: ran handlers
  2476.  
  2477. PLAY [bahmni-erp] ******************************************************************************************
  2478. META: ran handlers
  2479.  
  2480. TASK [installer-config : Fail if implementation name is not provided] **************************************
  2481. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:1
  2482. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2483.  
  2484. TASK [installer-config : create /etc/bahmni-installer/ directory] ******************************************
  2485. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:7
  2486. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2487.  
  2488. TASK [installer-config : create /etc/bahmni-installer/deployment-artifacts directory] **********************
  2489. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:10
  2490. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2491.  
  2492. TASK [installer-config : create /etc/bahmni-installer/atomfeed-backup directory] ***************************
  2493. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:13
  2494. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2495.  
  2496. TASK [installer-config : add bahmni configuration file] ****************************************************
  2497. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:16
  2498. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2499.  
  2500. TASK [installer-config : Creating Module directory] ********************************************************
  2501. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:24
  2502. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2503.  
  2504. TASK [installer-config : Check Bahmni-installer version on command box] ************************************
  2505. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:27
  2506. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2507.  
  2508. TASK [installer-config : Yum install Bahmni-installer] *****************************************************
  2509. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:31
  2510. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2511.  
  2512. TASK [installer-config : set installer_config_role_ran fact] ***********************************************
  2513. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/installer-config.yml:34
  2514. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2515.  
  2516. TASK [installer-config : Checking if backrest.conf exists] *************************************************
  2517. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:4
  2518. ok: [localhost] => {"changed": false, "failed": false, "stat": {"atime": 1639833613.8128135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a24861c191de65137659a2c19a6114283940e20", "ctime": 1639702546.005819, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51153388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "02c98e6ee51d8c618768bebdfd2b6678", "mimetype": "text/plain", "mode": "0777", "mtime": 1639702545.799819, "nlink": 1, "path": "/etc/bahmni-backrest.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1433, "uid": 0, "version": "18446744072582040961", "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
  2519.  
  2520. TASK [installer-config : Creating bahmni-backrest.conf file] ***********************************************
  2521. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:8
  2522. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2523.  
  2524. TASK [installer-config : Creating backrest log directory] **************************************************
  2525. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:17
  2526. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2527.  
  2528. TASK [installer-config : Creating pgbackrest repo directory] ***********************************************
  2529. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:25
  2530. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2531.  
  2532. TASK [installer-config : Editing bahmni-backrest.conf file] ************************************************
  2533. task path: /opt/bahmni-installer/bahmni-playbooks/roles/installer-config/tasks/main.yml:33
  2534. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2535.  
  2536. TASK [oracle-java : check if java is already downloaded] ***************************************************
  2537. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:1
  2538. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2539.  
  2540. TASK [oracle-java : set_fact] ******************************************************************************
  2541. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:5
  2542. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2543.  
  2544. TASK [oracle-java : Delete java rpm if checksum does not match] ********************************************
  2545. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:9
  2546. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2547.  
  2548. TASK [oracle-java : Download Java] *************************************************************************
  2549. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:13
  2550. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2551.  
  2552. TASK [oracle-java : install oracle java rpm] ***************************************************************
  2553. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:17
  2554. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2555.  
  2556. TASK [oracle-java : Make java available for system] ********************************************************
  2557. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:20
  2558. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2559.  
  2560. TASK [oracle-java : Make javac available for system] *******************************************************
  2561. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:23
  2562. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2563.  
  2564. TASK [oracle-java : Make jar available for system] *********************************************************
  2565. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:27
  2566. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2567.  
  2568. TASK [oracle-java : Set the JAVA_HOME variable] ************************************************************
  2569. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:31
  2570. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2571.  
  2572. TASK [oracle-java : set java_role_ran fact] ****************************************************************
  2573. task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:34
  2574. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2575.  
  2576. TASK [bahmni-erp-connect : Check if bahmni-erp-connect rpm needs an update] ********************************
  2577. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:1
  2578. changed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-erp-connect"], "delta": "0:00:12.454776", "end": "2021-12-18 22:59:40.971087", "failed": false, "rc": 0, "start": "2021-12-18 22:59:28.516311", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror, langpacks\nInstalled Packages\nbahmni-erp-connect.noarch 0.93-76 @bahmni", "stdout_lines": ["Loaded plugins: fastestmirror, langpacks", "Installed Packages", "bahmni-erp-connect.noarch 0.93-76 @bahmni"]}
  2579.  
  2580. TASK [bahmni-erp-connect : Unintall bahmni-erp-connect rpm] ************************************************
  2581. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:6
  2582. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
  2583. installed_bahmni_erp_connect.stdout.find("{{ bahmni_erp_connect_version }}") == -1
  2584.  
  2585. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2586.  
  2587. TASK [bahmni-erp-connect : Install bahmni-erp-connect from bahmni-repo] ************************************
  2588. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:10
  2589. ok: [localhost] => {"changed": false, "failed": false, "msg": "", "rc": 0, "results": ["bahmni-erp-connect-0.93-76.noarch providing bahmni-erp-connect-0.93-76 is already installed"]}
  2590.  
  2591. TASK [bahmni-erp-connect : Stop bahmni-openerp-connect] ****************************************************
  2592. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:13
  2593. changed: [localhost] => {"changed": true, "failed": false, "name": "bahmni-erp-connect", "state": "stopped", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 20:47:08 IST", "ActiveEnterTimestampMonotonic": "7752864492", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target network.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 20:47:08 IST", "AssertTimestampMonotonic": "7752484798", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 20:47:08 IST", "ConditionTimestampMonotonic": "7752484798", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/bahmni-erp-connect.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Bahmni ERP Connect Service", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "22611", "ExecMainStartTimestamp": "Sat 2021-12-18 20:47:08 IST", "ExecMainStartTimestampMonotonic": "7752864440", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/bahmni-erp-connect/bin/bahmni-erp-connect ; argv[]=/opt/bahmni-erp-connect/bin/bahmni-erp-connect restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/bahmni-erp-connect/bin/bahmni-erp-connect ; argv[]=/opt/bahmni-erp-connect/bin/bahmni-erp-connect start ; ignore_errors=no ; start_time=[Sat 2021-12-18 20:47:08 IST] ; stop_time=[Sat 2021-12-18 20:47:08 IST] ; pid=22600 ; code=exited ; status=0 }", "ExecStop": "{ path=/opt/bahmni-erp-connect/bin/bahmni-erp-connect ; argv[]=/opt/bahmni-erp-connect/bin/bahmni-erp-connect stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/bahmni-erp-connect.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "bahmni-erp-connect.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2021-12-18 20:47:08 IST", "InactiveExitTimestampMonotonic": "7752485556", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "22611", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "bahmni-erp-connect.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/bahmni-erp-connect/bahmni-erp-connect.pid", "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", "RuntimeDirectory": "bahmni-erp-connect", "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": "40", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2021-12-18 20:47:08 IST", "WatchdogTimestampMonotonic": "7752864467", "WatchdogUSec": "0"}}
  2594.  
  2595. TASK [bahmni-erp-connect : Copy bahmni-erp-connect configuration] ******************************************
  2596. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:20
  2597. ok: [localhost] => {"changed": false, "checksum": "4b904722b5f56f88c08c1ac3b7791c29dec09452", "dest": "/opt/bahmni-erp-connect/etc/bahmni-erp-connect.conf", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/bahmni-erp-connect/etc/bahmni-erp-connect.conf", "size": 450, "state": "file", "uid": 1001}
  2598.  
  2599. TASK [bahmni-erp-connect : Switch off chkconfig for bahmni-openerp-connect on passive] *********************
  2600. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:28
  2601. skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
  2602.  
  2603. TASK [bahmni-erp-connect : Copy atomfeed properties] *******************************************************
  2604. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:32
  2605. ok: [localhost] => {"changed": false, "checksum": "ff42963215fdf9418ae0a050b9cf14a5760a7e8d", "dest": "/opt/bahmni-erp-connect/bahmni-erp-connect/WEB-INF/classes/erp-atomfeed.properties", "failed": false, "gid": 1001, "group": "bahmni", "mode": "0644", "owner": "bahmni", "path": "/opt/bahmni-erp-connect/bahmni-erp-connect/WEB-INF/classes/erp-atomfeed.properties", "size": 1701, "state": "file", "uid": 1001}
  2606.  
  2607. TASK [bahmni-erp-connect : Backup openerp markers, failed_events tables] ***********************************
  2608. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:40
  2609. changed: [localhost -> localhost] => {"changed": true, "failed": false, "rc": 0, "stderr": "+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n++ date +%Y%m%d_%H%M%S\n+ TIME=20211218_230237\n+ pg_dump -U odoo -a -t markers -t failed_events odoo\n", "stdout": "", "stdout_lines": []}
  2610.  
  2611. TASK [bahmni-erp-connect : Copy script to update localhost with remote IP in markers] **********************
  2612. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:44
  2613. ok: [localhost] => {"changed": false, "checksum": "877969b0025ec81863fa07689d02ac02a61f0c17", "dest": "/opt/bahmni-erp-connect/add_remote_ip_in_openerp_markers.sh", "failed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/opt/bahmni-erp-connect/add_remote_ip_in_openerp_markers.sh", "size": 623, "state": "file", "uid": 0}
  2614.  
  2615. TASK [bahmni-erp-connect : Update markers with remote IP] **************************************************
  2616. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:51
  2617. changed: [localhost] => {"changed": true, "cmd": "/opt/bahmni-erp-connect/add_remote_ip_in_openerp_markers.sh", "delta": "0:00:00.430794", "end": "2021-12-18 23:02:52.454259", "failed": false, "rc": 0, "start": "2021-12-18 23:02:52.023465", "stderr": "+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n+ psql -U odoo -h localhost -c 'UPDATE\n markers\n SET\n feed_uri_for_last_read_entry = regexp_replace(\n feed_uri_for_last_read_entry, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''\n ),\n feed_uri = regexp_replace(\n feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''\n ) where feed_uri ~ '\\''openmrs'\\'';'\n+ psql -U odoo -h localhost -c ' UPDATE\n failed_events\n SET\n feed_uri = regexp_replace(\n feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''\n )\n where feed_uri ~'\\''openmrs'\\'';'", "stderr_lines": ["+ . /etc/bahmni-installer/bahmni.conf", "++ IMPLEMENTATION_NAME=default", "++ OPENMRS_DB_USERNAME=openmrs-user", "++ OPENMRS_DB_PASSWORD=P@ssw0rd", "++ OPENMRS_DB_SERVER=localhost", "++ OPENELIS_DB_USERNAME=clinlims", "++ OPENELIS_DB_PASSWORD=password", "++ OPENELIS_DB_SERVER=localhost", "++ OPENERP_DB_USERNAME=odoo", "++ OPENERP_DB_PASSWORD=password", "++ OPENERP_DB_SERVER=localhost", "++ MYSQL_ROOT_USER=root", "++ MYSQL_ROOT_PASSWORD=P@ssw0rd", "++ REPORTS_DB_SERVER=localhost", "++ REPORTS_DB_PASSWORD=P@ssw0rd", "++ REPORTS_DB_USERNAME=reports-user", "+ psql -U odoo -h localhost -c 'UPDATE", " markers", " SET", " feed_uri_for_last_read_entry = regexp_replace(", " feed_uri_for_last_read_entry, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''", " ),", " feed_uri = regexp_replace(", " feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''", " ) where feed_uri ~ '\\''openmrs'\\'';'", "+ psql -U odoo -h localhost -c ' UPDATE", " failed_events", " SET", " feed_uri = regexp_replace(", " feed_uri, '\\''http://.*/openmrs'\\'', '\\''http://localhost:8050/openmrs'\\''", " )", " where feed_uri ~'\\''openmrs'\\'';'"], "stdout": "UPDATE 2\nUPDATE 2", "stdout_lines": ["UPDATE 2", "UPDATE 2"]}
  2618.  
  2619. TASK [bahmni-erp-connect : Start bahmni-openerp-connect and enable at boot] ********************************
  2620. task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-erp-connect/tasks/main.yml:55
  2621. changed: [localhost] => {"changed": true, "enabled": true, "failed": false, "name": "bahmni-erp-connect", "state": "started", "status": {"ActiveEnterTimestamp": "Sat 2021-12-18 20:47:08 IST", "ActiveEnterTimestampMonotonic": "7752864492", "ActiveExitTimestamp": "Sat 2021-12-18 23:02:30 IST", "ActiveExitTimestampMonotonic": "15874133923", "ActiveState": "inactive", "After": "network-online.target network.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2021-12-18 20:47:08 IST", "AssertTimestampMonotonic": "7752484798", "Before": "multi-user.target shutdown.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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2021-12-18 20:47:08 IST", "ConditionTimestampMonotonic": "7752484798", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/bahmni-erp-connect.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Bahmni ERP Connect Service", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "22611", "ExecMainStartTimestamp": "Sat 2021-12-18 20:47:08 IST", "ExecMainStartTimestampMonotonic": "7752864440", "ExecMainStatus": "0", "ExecReload": "{ path=/opt/bahmni-erp-connect/bin/bahmni-erp-connect ; argv[]=/opt/bahmni-erp-connect/bin/bahmni-erp-connect restart ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/bahmni-erp-connect/bin/bahmni-erp-connect ; argv[]=/opt/bahmni-erp-connect/bin/bahmni-erp-connect start ; ignore_errors=no ; start_time=[Sat 2021-12-18 20:47:08 IST] ; stop_time=[Sat 2021-12-18 20:47:08 IST] ; pid=22600 ; code=exited ; status=0 }", "ExecStop": "{ path=/opt/bahmni-erp-connect/bin/bahmni-erp-connect ; argv[]=/opt/bahmni-erp-connect/bin/bahmni-erp-connect stop ; ignore_errors=no ; start_time=[Sat 2021-12-18 23:02:30 IST] ; stop_time=[Sat 2021-12-18 23:02:30 IST] ; pid=18507 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/bahmni-erp-connect.service", "Group": "bahmni", "GuessMainPID": "no", "IOScheduling": "0", "Id": "bahmni-erp-connect.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2021-12-18 23:02:30 IST", "InactiveEnterTimestampMonotonic": "15874853891", "InactiveExitTimestamp": "Sat 2021-12-18 20:47:08 IST", "InactiveExitTimestampMonotonic": "7752485556", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "none", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "12917", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "12917", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "bahmni-erp-connect.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/bahmni-erp-connect/bahmni-erp-connect.pid", "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", "RuntimeDirectory": "bahmni-erp-connect", "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": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "0", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "bahmni", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
  2622. META: ran handlers
  2623. META: ran handlers
  2624. [WARNING]: Could not match supplied host pattern, ignoring: pacs-integration-db
  2625.  
  2626. [WARNING]: Could not match supplied host pattern, ignoring: pacs-integration-db-slave
  2627.  
  2628.  
  2629. PLAY [pacs-integration-db:pacs-integration-db-slave] *******************************************************
  2630. skipping: no hosts matched
  2631. [WARNING]: Could not match supplied host pattern, ignoring: pacs-integration
  2632.  
  2633.  
  2634. PLAY [pacs-integration] ************************************************************************************
  2635. skipping: no hosts matched
  2636.  
  2637. PLAY [atomfeed-console] ************************************************************************************
  2638. META: ran handlers
  2639.  
  2640. TASK [atomfeed-console : install atomfeed-console rpm] *****************************************************
  2641. task path: /opt/bahmni-installer/bahmni-playbooks/roles/atomfeed-console/tasks/main.yml:2
  2642. fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "http://repo.mybahmni.org/rpm/bahmni/atomfeed-console-1.1-1.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=bahmni clean metadata\nTrying other mirror.\n\n\nError downloading packages:\n atomfeed-console-1.1-1.noarch: [Errno 256] No more mirrors to try.\n\n", "rc": 1, "results": ["Loaded plugins: fastestmirror, langpacks\nLoading mirror speeds from cached hostfile\n * base: mirrors.isu.net.sa\n * epel: mirror.earthlink.iq\n * extras: mirrors.isu.net.sa\n * updates: mirrors.isu.net.sa\nResolving Dependencies\n--> Running transaction check\n---> Package atomfeed-console.noarch 0:1.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n atomfeed-console noarch 1.1-1 bahmni 33 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 33 M\nInstalled size: 37 M\nDownloading packages:\n"]}
  2643. to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry
  2644.  
  2645. PLAY RECAP *************************************************************************************************
  2646. localhost : ok=260 changed=100 unreachable=0 failed=1
  2647.  
  2648. Traceback (most recent call last):
  2649. File "/bin/bahmni", line 9, in <module>
  2650. load_entry_point('bahmni==0.1', 'console_scripts', 'bahmni')()
  2651. File "/usr/lib64/python2.7/site-packages/click/core.py", line 764, in __call__
  2652. return self.main(*args, **kwargs)
  2653. File "/usr/lib64/python2.7/site-packages/click/core.py", line 717, in main
  2654. rv = self.invoke(ctx)
  2655. File "/usr/lib64/python2.7/site-packages/click/core.py", line 1137, in invoke
  2656. return _process_result(sub_ctx.command.invoke(sub_ctx))
  2657. File "/usr/lib64/python2.7/site-packages/click/core.py", line 956, in invoke
  2658. return ctx.invoke(self.callback, **ctx.params)
  2659. File "/usr/lib64/python2.7/site-packages/click/core.py", line 555, in invoke
  2660. return callback(*args, **kwargs)
  2661. File "/usr/lib64/python2.7/site-packages/click/decorators.py", line 17, in new_func
  2662. return f(get_current_context(), *args, **kwargs)
  2663. File "/usr/lib/python2.7/site-packages/bahmni-0.1-py2.7.egg/bahmni.py", line 91, in install
  2664. File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
  2665. raise CalledProcessError(retcode, cmd)
  2666. subprocess.CalledProcessError: Command 'ansible-playbook -i /etc/bahmni-installer/local all.yml -vv --extra-vars '@/etc/bahmni-installer/rpm_versions.yml' --extra-vars '@/etc/bahmni-backrest.conf' --extra-vars '@/etc/bahmni-installer/setup.yml'' returned non-zero exit status 2
  2667. [root@localhost yousef]# yum list installed | grep bahmni
  2668. bahmni-appointments-frontend.noarch 0.93-31 @bahmni
  2669. bahmni-emr.noarch 0.93-131 @bahmni
  2670. bahmni-erp.noarch 0.93-76 @bahmni
  2671. bahmni-erp-connect.noarch 0.93-76 @bahmni
  2672. bahmni-implementer-interface.noarch 0.93-97 @bahmni
  2673. bahmni-installer.noarch 0.93-197 @/bahmni-installer-0.93-197.noarch
  2674. bahmni-lab.noarch 0.93-58 @bahmni
  2675. bahmni-lab-connect.noarch 0.93-131 @bahmni
  2676. bahmni-reports.noarch 0.93-45 @bahmni
  2677. bahmni-web.noarch 0.93-131 @bahmni
  2678. [root@localhost yousef]#
  2679.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement