Move swap management out of mastodon role and into yttrx role
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
stat: path=/home/mastodon/live
|
||||
register: p
|
||||
|
||||
- import_tasks: swap.yml
|
||||
|
||||
- import_tasks: repo.yml
|
||||
when: not p.stat.exists
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
---
|
||||
- import_tasks: swap.yml
|
||||
|
||||
- name: Install prometheus node exporter
|
||||
package:
|
||||
name: prometheus-node-exporter
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
---
|
||||
swap_space: 1G
|
||||
Reference in New Issue
Block a user