From cfedc9e785831d54195b120300932f74f9808daf Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 3 Dec 2018 03:21:42 +0100 Subject: Upgrade syntax to Ansible 2.7 (apt module). --- roles/common-SQL/tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'roles/common-SQL') diff --git a/roles/common-SQL/tasks/main.yml b/roles/common-SQL/tasks/main.yml index 73b6878..d6ab1c4 100644 --- a/roles/common-SQL/tasks/main.yml +++ b/roles/common-SQL/tasks/main.yml @@ -1,6 +1,7 @@ - name: Install MariaDB - apt: pkg={{ item }} - with_items: + apt: pkg={{ packages }} + vars: + packages: - mariadb-common - mariadb-server - python-mysqldb -- cgit v1.2.3