From cf52cc99329efb064b4c3346da8ceff64cc9184e Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Fri, 13 Nov 2020 18:23:17 +0100 Subject: [PATCH] librenms: use list instead of with_items --- roles/librenms/tasks/main.yml | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/roles/librenms/tasks/main.yml b/roles/librenms/tasks/main.yml index 0aca64c..351aa1c 100644 --- a/roles/librenms/tasks/main.yml +++ b/roles/librenms/tasks/main.yml @@ -1,33 +1,33 @@ --- - name: Install dependencies - apt: name={{ item }} - with_items: - - fping - - git - - graphviz - - imagemagick - - mtr-tiny - - mariadb-server - - nmap - - php-net-ipv4 - - php-net-ipv6 - - php-pear - - php7.3-cli - - php7.3-curl - - php7.3-fpm - - php7.3-gd - - php7.3-json - - php7.3-mbstring - - php7.3-mysql - - php7.3-snmp - - python3-dotenv - - python3-pymysql - - python3-redis - - rrdtool - - snmp - - snmpd - - whois + apt: + name: + - fping + - git + - graphviz + - imagemagick + - mtr-tiny + - mariadb-server + - nmap + - php-net-ipv4 + - php-net-ipv6 + - php-pear + - php7.3-cli + - php7.3-curl + - php7.3-fpm + - php7.3-gd + - php7.3-json + - php7.3-mbstring + - php7.3-mysql + - php7.3-snmp + - python3-dotenv + - python3-pymysql + - python3-redis + - rrdtool + - snmp + - snmpd + - whois - name: Configure MySQL database mysql_db: name={{ librenms_dbname }}