• Here's an ansible playbook for deploying a LAMP server and setting up PostgresQL on Ubuntu and Debian distros.
  • It was created using ansible roles.
  • If you intend to use this playbook for your work, ensure you encrypt sensitive variables like password with ansible-vault.
  • It goes without saying but defining passwords and other sensitive information in plain text is not the best way to go. Instead, create encrypted variables or variable files with ansible vault.