Move swap management out of mastodon role and into yttrx role

This commit is contained in:
Waffles
2022-12-26 22:59:02 -08:00
parent 526e28d935
commit 8593bf2e7a
5 changed files with 4 additions and 3 deletions
-1
View File
@@ -1,4 +1,3 @@
MASTODON_VERSION: v4.0.2 MASTODON_VERSION: v4.0.2
REAL_DB_HOST: tusky.masto.yttrx.com REAL_DB_HOST: tusky.masto.yttrx.com
DB_POOL: 25 DB_POOL: 25
swap_space: 1G
-2
View File
@@ -10,8 +10,6 @@
stat: path=/home/mastodon/live stat: path=/home/mastodon/live
register: p register: p
- import_tasks: swap.yml
- import_tasks: repo.yml - import_tasks: repo.yml
when: not p.stat.exists when: not p.stat.exists
+2
View File
@@ -1,4 +1,6 @@
--- ---
- import_tasks: swap.yml
- name: Install prometheus node exporter - name: Install prometheus node exporter
package: package:
name: prometheus-node-exporter name: prometheus-node-exporter
+2
View File
@@ -0,0 +1,2 @@
---
swap_space: 1G