Skip to content

Instantly share code, notes, and snippets.

@mschirbel
Created January 26, 2019 03:50
Show Gist options
  • Save mschirbel/c065c961afa46e0acb226d0c7643cce0 to your computer and use it in GitHub Desktop.
Save mschirbel/c065c961afa46e0acb226d0c7643cce0 to your computer and use it in GitHub Desktop.
ansible-apache-packages-aravel
- 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