Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ansible) alvaro@debian:~/GitHub/ansible-tfg$ ansible-playbook post.yml
- PLAY [client] ************************************************************************************************************************************************************************
- TASK [Gathering Facts] ***************************************************************************************************************************************************************
- ok: [client1]
- ok: [client2]
- TASK [pacemaker : Ensure needed packages are installed] ******************************************************************************************************************************
- changed: [client2]
- changed: [client1]
- TASK [pacemaker : Run all pending handlers] ******************************************************************************************************************************************
- RUNNING HANDLER [pacemaker : disable apache2] ****************************************************************************************************************************************
- changed: [client2]
- changed: [client1]
- RUNNING HANDLER [pacemaker : disable mariadb] ****************************************************************************************************************************************
- changed: [client2]
- changed: [client1]
- TASK [pacemaker : Obtain secret key and save as a variable] **************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Store the secret key in admin.secret file] *************************************************************************************************************************
- changed: [client1]
- changed: [client2]
- TASK [pacemaker : Mount CephFS on /ceph and add to fstab] ****************************************************************************************************************************
- changed: [client2]
- changed: [client1]
- TASK [pacemaker : Create the necessary structure on /ceph] ***************************************************************************************************************************
- changed: [client1] => (item=sql)
- changed: [client1] => (item=prestashop)
- TASK [pacemaker : Check if /ceph/prestashop folder is empty before proceeding] *******************************************************************************************************
- ok: [client1]
- TASK [pacemaker : Download and unzip prestashop_1.7.7.0.zip package] *****************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Unzip prestashop.zip package] **************************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Delete unnecessary PrestaShop files] *******************************************************************************************************************************
- changed: [client1] => (item=Install_PrestaShop.html)
- changed: [client1] => (item=prestashop.zip)
- TASK [pacemaker : Copy prestashop.conf VirtualHost file] *****************************************************************************************************************************
- changed: [client1]
- changed: [client2]
- TASK [pacemaker : Create prestashop.conf VirtualHost symlink] ************************************************************************************************************************
- changed: [client1]
- changed: [client2]
- TASK [pacemaker : Delete 000-default.conf VirtualHost symlink] ***********************************************************************************************************************
- changed: [client1]
- changed: [client2]
- TASK [pacemaker : Create rewrite module symlink] *************************************************************************************************************************************
- changed: [client1]
- changed: [client2]
- TASK [pacemaker : Change MariaDB datadir to /ceph/sql] *******************************************************************************************************************************
- changed: [client1]
- changed: [client2]
- TASK [pacemaker : Change MariaDB bind-address to 0.0.0.0] ****************************************************************************************************************************
- changed: [client1]
- changed: [client2]
- TASK [pacemaker : Check if /ceph/sql folder is empty before proceeding] **************************************************************************************************************
- ok: [client1]
- TASK [pacemaker : Install DB prerequisites] ******************************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Set hacluster user password] ***************************************************************************************************************************************
- changed: [client2]
- changed: [client1]
- TASK [pacemaker : Destroy default cluster] *******************************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Add hosts to the new cluster] **************************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create, start and enable the new cluster] **************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Disable STONITH property] ******************************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create VirtualIP resource for Apache2] *****************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create Apache2 resource] *******************************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create Apache2 and VirtualIP colocation] ***************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create VirtualIP resource for MariaDB] *****************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create MariaDB resource] *******************************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create MariaDB and VirtualIP colocation] ***************************************************************************************************************************
- changed: [client1]
- TASK [pacemaker : Create constraint to preferably run all resources on the first node] ***********************************************************************************************
- changed: [client1] => (item=WebVirtualIP)
- changed: [client1] => (item=WebSite)
- changed: [client1] => (item=DBVirtualIP)
- changed: [client1] => (item=Database)
- TASK [pacemaker : Create a new MariaDB database] *************************************************************************************************************************************
- skipping: [client2]
- changed: [client1]
- TASK [pacemaker : Create a new user with privileges in the previous database] ********************************************************************************************************
- skipping: [client2]
- changed: [client1]
- PLAY RECAP ***************************************************************************************************************************************************************************
- client1 : ok=34 changed=31 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- 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