diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:21:42 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:43:42 +0100 |
commit | cfedc9e785831d54195b120300932f74f9808daf (patch) | |
tree | 3f906311a6d2a7340b9d9012f23c07c95e8015b2 /roles/lists/tasks | |
parent | f01876604da167b36780e53ce54cd89c8f9d5f85 (diff) |
Upgrade syntax to Ansible 2.7 (apt module).
Diffstat (limited to 'roles/lists/tasks')
-rw-r--r-- | roles/lists/tasks/mail.yml | 5 | ||||
-rw-r--r-- | roles/lists/tasks/mlmmj.yml | 5 | ||||
-rw-r--r-- | roles/lists/tasks/sympa.yml | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/roles/lists/tasks/mail.yml b/roles/lists/tasks/mail.yml index 8705f91..44b96e5 100644 --- a/roles/lists/tasks/mail.yml +++ b/roles/lists/tasks/mail.yml @@ -1,6 +1,7 @@ - name: Install Postfix - apt: pkg={{ item }} - with_items: + apt: pkg={{ packages }} + vars: + packages: - postfix - postfix-ldap diff --git a/roles/lists/tasks/mlmmj.yml b/roles/lists/tasks/mlmmj.yml index 45fc8f4..aeaaedc 100644 --- a/roles/lists/tasks/mlmmj.yml +++ b/roles/lists/tasks/mlmmj.yml @@ -1,6 +1,7 @@ - name: Install MLMMJ - apt: pkg={{ item }} - with_items: + apt: pkg={{ packages }} + vars: + packages: - mlmmj # Weird the debian package doesn't do it by itself... diff --git a/roles/lists/tasks/sympa.yml b/roles/lists/tasks/sympa.yml index 3b4ac9f..284f320 100644 --- a/roles/lists/tasks/sympa.yml +++ b/roles/lists/tasks/sympa.yml @@ -1,5 +1,6 @@ -- apt: pkg={{ item }} install_recommends=no - with_items: +- apt: pkg={{ packages }} install_recommends=no + vars: + packages: - mariadb-server - sympa - libnet-dns-perl |