Skip to content

Instantly share code, notes, and snippets.

@roelofjan-elsinga
Created June 10, 2020 14:10
Show Gist options
  • Save roelofjan-elsinga/25952857fffcef0e39ccc1ca693d8268 to your computer and use it in GitHub Desktop.
Save roelofjan-elsinga/25952857fffcef0e39ccc1ca693d8268 to your computer and use it in GitHub Desktop.
A sample Ansible playbook with roles deploy changes to a Laravel application
- hosts: roelofjanelsinga.com
vars_files:
- secrets.yml
vars:
github_repo_url: https://{{github_user}}:{{github_token}}@github.com/roelofjan-elsinga/portfolio.git
working_directory: /path/to/app
roles:
- deploy_laravel_app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment