aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/postgres.yml
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 08:42:21 -0500
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 08:45:42 -0500
commit29d67e764c544789e74fdf3cbf4626bea758699b (patch)
tree96c8612db7eeabbdf1ee173b6698c62a64da9283 /playbooks/postgres.yml
parentc4115b174d408a576c418c05dc5b4b5ac845b26d (diff)
downloadselfhosted-29d67e764c544789e74fdf3cbf4626bea758699b.tar.gz
selfhosted-29d67e764c544789e74fdf3cbf4626bea758699b.zip
move common setup from playbook into role
Diffstat (limited to 'playbooks/postgres.yml')
-rw-r--r--playbooks/postgres.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/playbooks/postgres.yml b/playbooks/postgres.yml
index 72192ec..fb7f7aa 100644
--- a/playbooks/postgres.yml
+++ b/playbooks/postgres.yml
@@ -1,11 +1,10 @@
-- import_playbook: common.yml
- vars:
- hostlist: postgresql_servers
-
- name: configure postgresql
hosts: postgresql_servers
tags: postgres,postgresql
roles:
+ - role: common
+ tags: common
+
- role: postgresql_server
- role: archive_job