Advertisement
alvarovaca

ansible-playbook post.yml

Jun 14th, 2021
646
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.23 KB | None | 0 0
  1. (ansible) alvaro@debian:~/GitHub/ansible-tfg$ ansible-playbook post.yml
  2.  
  3. PLAY [client] ************************************************************************************************************************************************************************
  4.  
  5. TASK [Gathering Facts] ***************************************************************************************************************************************************************
  6. ok: [client1]
  7. ok: [client2]
  8.  
  9. TASK [pacemaker : Ensure needed packages are installed] ******************************************************************************************************************************
  10. changed: [client2]
  11. changed: [client1]
  12.  
  13. TASK [pacemaker : Run all pending handlers] ******************************************************************************************************************************************
  14.  
  15. RUNNING HANDLER [pacemaker : disable apache2] ****************************************************************************************************************************************
  16. changed: [client2]
  17. changed: [client1]
  18.  
  19. RUNNING HANDLER [pacemaker : disable mariadb] ****************************************************************************************************************************************
  20. changed: [client2]
  21. changed: [client1]
  22.  
  23. TASK [pacemaker : Obtain secret key and save as a variable] **************************************************************************************************************************
  24. changed: [client1]
  25.  
  26. TASK [pacemaker : Store the secret key in admin.secret file] *************************************************************************************************************************
  27. changed: [client1]
  28. changed: [client2]
  29.  
  30. TASK [pacemaker : Mount CephFS on /ceph and add to fstab] ****************************************************************************************************************************
  31. changed: [client2]
  32. changed: [client1]
  33.  
  34. TASK [pacemaker : Create the necessary structure on /ceph] ***************************************************************************************************************************
  35. changed: [client1] => (item=sql)
  36. changed: [client1] => (item=prestashop)
  37.  
  38. TASK [pacemaker : Check if /ceph/prestashop folder is empty before proceeding] *******************************************************************************************************
  39. ok: [client1]
  40.  
  41. TASK [pacemaker : Download and unzip prestashop_1.7.7.0.zip package] *****************************************************************************************************************
  42. changed: [client1]
  43.  
  44. TASK [pacemaker : Unzip prestashop.zip package] **************************************************************************************************************************************
  45. changed: [client1]
  46.  
  47. TASK [pacemaker : Delete unnecessary PrestaShop files] *******************************************************************************************************************************
  48. changed: [client1] => (item=Install_PrestaShop.html)
  49. changed: [client1] => (item=prestashop.zip)
  50.  
  51. TASK [pacemaker : Copy prestashop.conf VirtualHost file] *****************************************************************************************************************************
  52. changed: [client1]
  53. changed: [client2]
  54.  
  55. TASK [pacemaker : Create prestashop.conf VirtualHost symlink] ************************************************************************************************************************
  56. changed: [client1]
  57. changed: [client2]
  58.  
  59. TASK [pacemaker : Delete 000-default.conf VirtualHost symlink] ***********************************************************************************************************************
  60. changed: [client1]
  61. changed: [client2]
  62.  
  63. TASK [pacemaker : Create rewrite module symlink] *************************************************************************************************************************************
  64. changed: [client1]
  65. changed: [client2]
  66.  
  67. TASK [pacemaker : Change MariaDB datadir to /ceph/sql] *******************************************************************************************************************************
  68. changed: [client1]
  69. changed: [client2]
  70.  
  71. TASK [pacemaker : Change MariaDB bind-address to 0.0.0.0] ****************************************************************************************************************************
  72. changed: [client1]
  73. changed: [client2]
  74.  
  75. TASK [pacemaker : Check if /ceph/sql folder is empty before proceeding] **************************************************************************************************************
  76. ok: [client1]
  77.  
  78. TASK [pacemaker : Install DB prerequisites] ******************************************************************************************************************************************
  79. changed: [client1]
  80.  
  81. TASK [pacemaker : Set hacluster user password] ***************************************************************************************************************************************
  82. changed: [client2]
  83. changed: [client1]
  84.  
  85. TASK [pacemaker : Destroy default cluster] *******************************************************************************************************************************************
  86. changed: [client1]
  87.  
  88. TASK [pacemaker : Add hosts to the new cluster] **************************************************************************************************************************************
  89. changed: [client1]
  90.  
  91. TASK [pacemaker : Create, start and enable the new cluster] **************************************************************************************************************************
  92. changed: [client1]
  93.  
  94. TASK [pacemaker : Disable STONITH property] ******************************************************************************************************************************************
  95. changed: [client1]
  96.  
  97. TASK [pacemaker : Create VirtualIP resource for Apache2] *****************************************************************************************************************************
  98. changed: [client1]
  99.  
  100. TASK [pacemaker : Create Apache2 resource] *******************************************************************************************************************************************
  101. changed: [client1]
  102.  
  103. TASK [pacemaker : Create Apache2 and VirtualIP colocation] ***************************************************************************************************************************
  104. changed: [client1]
  105.  
  106. TASK [pacemaker : Create VirtualIP resource for MariaDB] *****************************************************************************************************************************
  107. changed: [client1]
  108.  
  109. TASK [pacemaker : Create MariaDB resource] *******************************************************************************************************************************************
  110. changed: [client1]
  111.  
  112. TASK [pacemaker : Create MariaDB and VirtualIP colocation] ***************************************************************************************************************************
  113. changed: [client1]
  114.  
  115. TASK [pacemaker : Create constraint to preferably run all resources on the first node] ***********************************************************************************************
  116. changed: [client1] => (item=WebVirtualIP)
  117. changed: [client1] => (item=WebSite)
  118. changed: [client1] => (item=DBVirtualIP)
  119. changed: [client1] => (item=Database)
  120.  
  121. TASK [pacemaker : Create a new MariaDB database] *************************************************************************************************************************************
  122. skipping: [client2]
  123. changed: [client1]
  124.  
  125. TASK [pacemaker : Create a new user with privileges in the previous database] ********************************************************************************************************
  126. skipping: [client2]
  127. changed: [client1]
  128.  
  129. PLAY RECAP ***************************************************************************************************************************************************************************
  130. client1 : ok=34 changed=31 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
  131. client2 : ok=13 changed=12 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement