From 9fe5def5f9924df2f239bef059e2c30a991c3d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 7 Oct 2026 16:51:18 +0200 Subject: [PATCH] Move Mastodon deploy flag to the mastodon role Set kosmos-mastodon.deploy to false as a role default, making it overridable per node, and drop the node-level attribute. --- nodes | 2 +- roles/mastodon.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nodes b/nodes index 992f643..d730967 160000 --- a/nodes +++ b/nodes @@ -1 +1 @@ -Subproject commit 992f6434263e231ce510837df77df22c3b5c5d8f +Subproject commit d730967916674ffde7d1e00da792ecda0cdf0b84 diff --git a/roles/mastodon.rb b/roles/mastodon.rb index b35d2b8..4b202c7 100644 --- a/roles/mastodon.rb +++ b/roles/mastodon.rb @@ -1,5 +1,9 @@ name "mastodon" +default_attributes 'kosmos-mastodon' => { + 'deploy' => false +} + run_list %w( role[postgresql_client] kosmos-mastodon::libretranslate