Created
January 26, 2019 04:16
-
-
Save mschirbel/6a18d2e10868a09df7bc85524b571195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: create a virtualhost on apache | |
file: | |
src: laravel.conf | |
path: /etc/apache2/sites-available/ | |
owner: root | |
group: root | |
mode: 0755 | |
- name: a2ensite laravel | |
command: a2ensite laravel | |
args: | |
creates: /etc/apache2/sites-enabled/laravel.conf | |
- name: a2enmod rewrite | |
shell: sudo a2enmod rewrite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment