Add the postgresql_client role to the mastodon role

This will add the firewall rule and pg_hba access rule on the PostgreSQL
servers
This commit is contained in:
Greg Karékinian 2020-12-18 17:54:31 +01:00
parent c700f98976
commit 87388ac69d
2 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@
"ipaddress": "46.4.18.160", "ipaddress": "46.4.18.160",
"roles": [ "roles": [
"base", "base",
"postgresql_primary",
"mastodon", "mastodon",
"ejabberd" "ejabberd",
"postgresql_client"
], ],
"recipes": [ "recipes": [
"kosmos-base", "kosmos-base",
@ -130,7 +130,6 @@
"recipe[kosmos-base::andromeda_firewall]", "recipe[kosmos-base::andromeda_firewall]",
"recipe[kosmos-ipfs]", "recipe[kosmos-ipfs]",
"recipe[kosmos-ipfs::public_gateway]", "recipe[kosmos-ipfs::public_gateway]",
"role[postgresql_primary]",
"recipe[kosmos-btcpayserver::proxy]", "recipe[kosmos-btcpayserver::proxy]",
"role[mastodon]", "role[mastodon]",
"role[ejabberd]", "role[ejabberd]",

View File

@ -3,4 +3,5 @@ name "mastodon"
run_list %w( run_list %w(
kosmos-mastodon kosmos-mastodon
kosmos-mastodon::nginx kosmos-mastodon::nginx
role[postgresql_client]
) )