Fixed deprecated ansible syntax.
authorLuke Hoersten <luke@hoersten.org>
Sat, 19 Jan 2019 13:32:43 -0600
changeset 73 3e6344570822
parent 72 fd3750fc2a93
child 74 dc20ec78acdd
Fixed deprecated ansible syntax.
roles/pleroma/defaults/main.yaml
roles/pleroma/tasks/main.yaml
--- 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