Version 0.1: Inital working deployment version
This commit is contained in:
65
roles/owncloud/tasks/dependencies.yml
Normal file
65
roles/owncloud/tasks/dependencies.yml
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
- name: Get software for apt repository management.
|
||||
apt:
|
||||
state: present
|
||||
name:
|
||||
- python3-apt
|
||||
- python3-pycurl
|
||||
- python3-pymysql
|
||||
|
||||
- name: Add ondrej repository for later versions of PHP.
|
||||
apt_repository:
|
||||
repo: "ppa:ondrej/php"
|
||||
update_cache: yes
|
||||
|
||||
- name: "Install Apache, MySQL, PHP, and other dependencies."
|
||||
apt:
|
||||
state: present
|
||||
name:
|
||||
- acl
|
||||
- git
|
||||
- curl
|
||||
- wget
|
||||
- unzip
|
||||
- openssl
|
||||
- redis-server
|
||||
- mariadb-server
|
||||
- libpcre3-dev
|
||||
- apache2
|
||||
- libapache2-mod-php7.4
|
||||
- php7.4
|
||||
- php7.4-imagick
|
||||
- php7.4-common
|
||||
- php7.4-curl
|
||||
- php7.4-gd
|
||||
- php7.4-imap
|
||||
- php7.4-intl
|
||||
- php7.4-json
|
||||
- php7.4-mbstring
|
||||
- php7.4-gmp
|
||||
- php7.4-bcmath
|
||||
- php7.4-mysql
|
||||
- php7.4-ssh2
|
||||
- php7.4-xml
|
||||
- php7.4-zip
|
||||
- php7.4-apcu
|
||||
- php7.4-redis
|
||||
- php7.4-ldap
|
||||
- php7.4-smbclient
|
||||
- php-phpseclib
|
||||
- bzip2
|
||||
- rsync
|
||||
- jq
|
||||
- inetutils-ping
|
||||
- ldap-utils
|
||||
- smbclient
|
||||
- cron
|
||||
|
||||
#- name: Disable the firewall (since this is behind a firewall)
|
||||
# service: name=ufw state=stopped
|
||||
|
||||
- name: "Start Apache, MySQL, and PHP."
|
||||
service: "name={{ item }} state=started enabled=yes"
|
||||
with_items:
|
||||
- apache2
|
||||
- mysql
|
||||
Reference in New Issue
Block a user