Created
January 26, 2019 03:50
-
-
Save mschirbel/c065c961afa46e0acb226d0c7643cce0 to your computer and use it in GitHub Desktop.
ansible-apache-packages-aravel
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
- hosts: webservers | |
become: true | |
tasks: | |
- name: install packages for laravel | |
apt: name={{ item }} update_cache=yes state=latest | |
with_items: | |
- php7.2 | |
- libapache2-mod-php7.2 | |
- php7.2-mbstring | |
- php7.2-xmlrpc | |
- php7.2-soap | |
- php7.2-gd | |
- php7.2-xml | |
- php7.2-cli | |
- php7.2-zip | |
- curl | |
- name: install apache http web server | |
apt: name=apache2 update_cache=yes state=latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment