Kris Lamoureux
2c6171e649
Change inventory defaults to use the environments directory and add what is necessary for Debian 10.
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# Copyright (C) 2019 Free I.T. Athens
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, version 3 of the License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
- name: Install Apache2 Web Server
|
|
apt:
|
|
name: apache2
|
|
state: present
|
|
|
|
- name: Start Apache2 Web Server
|
|
service:
|
|
name: apache2
|
|
state: started
|
|
|
|
- name: Install PHP
|
|
apt:
|
|
name: php
|
|
state: present
|
|
|
|
- name: Install PHP MySQL Extension
|
|
apt:
|
|
name: php-mysql
|
|
state: present
|
|
notify: Reload Apache2
|
|
|
|
- name: Install MariaDB Server
|
|
apt:
|
|
name: mariadb-server
|
|
state: present
|