Fixed deprecated ansible syntax.
--- a/roles/pleroma/defaults/main.yaml Sat Jan 19 13:00:49 2019 -0600
+++ b/roles/pleroma/defaults/main.yaml Sat Jan 19 13:32:43 2019 -0600
@@ -19,3 +19,10 @@
pleroma_signup_open: "true"
pleroma_db_host: "localhost"
pleroma_db_superuser: "postgres"
+
+pleroma_apt_packages:
+ - "postgresql"
+ - "esl-erlang"
+ - "elixir"
+ - "build-essential"
+ - "git"
--- a/roles/pleroma/tasks/main.yaml Sat Jan 19 13:00:49 2019 -0600
+++ b/roles/pleroma/tasks/main.yaml Sat Jan 19 13:32:43 2019 -0600
@@ -12,15 +12,9 @@
become: yes
apt: upgrade="dist" update_cache="yes" cache_valid_time="3600"
-- name: install extra apt packages
+- name: install pleroma apt packages
become: yes
- apt: name="{{item}}"
- with_items:
- - "postgresql"
- - "esl-erlang"
- - "elixir"
- - "build-essential"
- - "git"
+ apt: name="{{pleroma_apt_packages}}"
- name: add users
become: yes