Deploying PHP applications with Ansible, Ansible Vault and Ansistrano
summary
Uses Ansible to provision a full LAMP stack, run the composer module, clone repositories with the Git module and create MySQL databases and users; secrets live encrypted in Ansible Vault files instead of plaintext. Adds Ansistrano to keep timestamped release directories, shared files, a current symlink and an Ansistrano rollback playbook to revert to the previous release. Demo shows a real Drupal codebase deployed to a VM, composer installs run, symlink swaps and the site is accessible and login succeeds.
AI-written summary · about
chapters (7)
related talks
40mAutomating PHP upgrades with Ansible
49mFrom Vagrant to Production
38mDeploying your apps... the right way!
37mCloud Provisioning with Ansible? Is that possible?
01h 10mHosting “the wine is good”?
46mThe Future of the PHP Development Environment
33mSimplified Continuous Integration with Laravel and Jenkins
01h 00mDon't fear the devops. Taming servers infrastructure with Ansible
