# HG changeset patch # User Luke Hoersten # Date 1547926363 21600 # Node ID 3e6344570822e53dc4296510109f0ca3ca2fd9c3 # Parent fd3750fc2a938cec72bab8880d6f101fa13d9581 Fixed deprecated ansible syntax. diff -r fd3750fc2a93 -r 3e6344570822 roles/pleroma/defaults/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" diff -r fd3750fc2a93 -r 3e6344570822 roles/pleroma/tasks/main.yaml --- 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