presentations/deploying-php-ansible-ansistrano/demo
2025-10-03 22:04:20 +01:00
..
config/sync Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
docs/images Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
tools/ansible Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
web/modules/custom/simple_message Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
.gitignore Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
ansible.cfg Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
composer.json Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
composer.lock Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
README.md Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00
Vagrantfile Move all files to deploying-php-ansible-ansistrano/demo/ 2025-10-03 22:04:20 +01:00

Dransible

Prerequisites

Installation

  1. Download roles from Galaxy:

    ansible-galaxy install -r tools/ansible/requirements.yml
    
  2. Start the server:

    vagrant up
    
  3. Provision the server:

    ansible-playbook tools/ansible/provision.yml
    

    If you go to the server IP address (http://192.168.33.10) then you should see the Apache2 default page.

    The Apache2 Ubuntu default page

    If you go to http://dransible then you should see a Forbidden error as the application is not yet present on the server.

    A 'Forbidden' error when trying to load the application

  4. Deploy the application:

    ansible-playbook tools/ansible/deploy.yml
    

    After this, http://dransible should show an installed Drupal website.

    The homepage of the installed Drupal website