From 8ef5789f4aa7c9d0b5871fc73857481feb3afe6f Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Fri, 13 Nov 2020 21:35:15 +0100 Subject: [PATCH] nextcloud: use list instead of with_items --- roles/nextcloud/tasks/main.yml | 58 +++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index e73a78c..29c5b9a 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -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 }}