librenms: use list instead of with_items

This commit is contained in:
Markus 2020-11-13 18:23:17 +01:00
parent 6b4dbb9177
commit cf52cc9932

View File

@ -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 }}