From 29d67e764c544789e74fdf3cbf4626bea758699b Mon Sep 17 00:00:00 2001 From: Stonewall Jackson Date: Sat, 4 Feb 2023 08:42:21 -0500 Subject: move common setup from playbook into role --- playbooks/postgres.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'playbooks/postgres.yml') 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 -- cgit