Move swap management out of mastodon role and into yttrx role
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
swap_space: 1G
|
||||||
Reference in New Issue
Block a user