diff --git a/tasks/configure-access.yml b/tasks/configure-access.yml index d1d3ae1..4385f89 100644 --- a/tasks/configure-access.yml +++ b/tasks/configure-access.yml @@ -35,4 +35,5 @@ delegate_to: "{{ item.db_host }}" when: item.db_host is defined + run_once: True tags: [ 'postgresql', 'postgres', 'pg_hba', 'pg_conf', 'pg_db' ] diff --git a/tasks/db_extensions.yml b/tasks/db_extensions.yml index e18fa51..a227b33 100644 --- a/tasks/db_extensions.yml +++ b/tasks/db_extensions.yml @@ -11,5 +11,6 @@ delegate_to: "{{ item.0.db_host }}" when: item.0.db_host is defined + run_once: True tags: [ 'postgresql', 'postgres', 'pg_extensions', 'pg_db' ] diff --git a/tasks/db_schemas.yml b/tasks/db_schemas.yml index d97cb3a..51f800c 100644 --- a/tasks/db_schemas.yml +++ b/tasks/db_schemas.yml @@ -11,4 +11,5 @@ delegate_to: "{{ item.0.db_host }}" when: item.0.db_host is defined + run_once: True tags: [ 'postgresql', 'postgres', 'pg_db', 'pg_schema' ] diff --git a/tasks/manage_dbs.yml b/tasks/manage_dbs.yml index a4b5351..a767b52 100644 --- a/tasks/manage_dbs.yml +++ b/tasks/manage_dbs.yml @@ -32,4 +32,5 @@ delegate_to: "{{ item.db_host }}" when: item.db_host is defined + run_once: True tags: [ 'postgresql', 'postgres', 'pg_db', 'pg_user' ]