An example for deploying a Drupal application with Ansible, Ansistrano and Ansible Vault
Find a file
2019-12-05 16:09:58 +00:00
config/sync Add ansible stuff 2019-12-05 16:09:58 +00:00
tools/ansible Add ansible stuff 2019-12-05 16:09:58 +00:00
.gitignore init 2019-12-05 13:29:52 +00:00
ansible.cfg Add ansible stuff 2019-12-05 16:09:58 +00:00
composer.json init 2019-12-05 13:29:52 +00:00
composer.lock init 2019-12-05 13:29:52 +00:00
README.md Create README.md 2019-12-05 16:09:58 +00:00
Vagrantfile Create Vagrantfile 2019-12-05 16:09:58 +00:00

Dransible

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
    
  4. Deploy the application:

    ansible-playbook tools/ansible/deploy.yml