summaryrefslogtreecommitdiffstats
path: root/roles/common-SQL
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:21:42 +0100
committerGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:43:42 +0100
commitcfedc9e785831d54195b120300932f74f9808daf (patch)
tree3f906311a6d2a7340b9d9012f23c07c95e8015b2 /roles/common-SQL
parentf01876604da167b36780e53ce54cd89c8f9d5f85 (diff)
Upgrade syntax to Ansible 2.7 (apt module).
Diffstat (limited to 'roles/common-SQL')
-rw-r--r--roles/common-SQL/tasks/main.yml5
1 files changed, 3 insertions, 2 deletions
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