nextcloud: use list instead of with_items

This commit is contained in:
Markus 2020-11-13 21:35:15 +01:00
parent 4e87db5364
commit 8ef5789f4a

View File

@ -10,35 +10,35 @@
apt_repository: repo="deb https://packages.sury.org/php/ stretch main"
- name: Install packages
apt: name={{ item }}
with_items:
- php-redis
- php7.3
- php7.3-bcmath
- php7.3-bz2
- php7.3-cli
- php7.3-common
- php7.3-curl
- php7.3-dev
- php7.3-fpm
- php7.3-gd
- php7.3-imap
- php7.3-intl
- php7.3-json
- php7.3-ldap
- php7.3-mbstring
- php7.3-mysql
- php7.3-opcache
- php7.3-pgsql
- php7.3-readline
- php7.3-soap
- php7.3-sqlite3
- php7.3-tidy
- php7.3-xml
- php7.3-xmlrpc
- php7.3-zip
- postgresql
- python-psycopg2
apt:
name:
- php-redis
- php7.3
- php7.3-bcmath
- php7.3-bz2
- php7.3-cli
- php7.3-common
- php7.3-curl
- php7.3-dev
- php7.3-fpm
- php7.3-gd
- php7.3-imap
- php7.3-intl
- php7.3-json
- php7.3-ldap
- php7.3-mbstring
- php7.3-mysql
- php7.3-opcache
- php7.3-pgsql
- php7.3-readline
- php7.3-soap
- php7.3-sqlite3
- php7.3-tidy
- php7.3-xml
- php7.3-xmlrpc
- php7.3-zip
- postgresql
- python-psycopg2
- name: Configure PostgreSQL database
postgresql_db: name={{ owncloud_dbname }}